public static class Mathf

Inheritance Chain

Static Fields

    public const Single Epsilon = 1E-06f

    public const Single PI = 3.14159274f

Static Methods

    public static float Abs(float s)

    public static float Acos(float s)

    public static float Asin(float s)

    public static float Atan(float s)

    public static float Atan2(float x, float y)

    public static Vector2 Cartesian2Polar(float x, float y)

    public static float Ceil(float s)

    public static float Clamp(float val, float min, float max)

    public static float Cos(float s)

    public static float Cosh(float s)

    public static int Decimals(float step)

    public static int Decimals(decimal step)

    public static float Deg2Rad(float deg)

    public static float Ease(float s, float curve)

    public static float Exp(float s)

    public static float Floor(float s)

    public static float Fposmod(float x, float y)

    public static float Lerp(float from, float to, float weight)

    public static float Log(float s)

    public static int Max(int a, int b)

    public static float Max(float a, float b)

    public static int Min(int a, int b)

    public static float Min(float a, float b)

    public static int NearestPo2(int val)

    public static Vector2 Polar2Cartesian(float r, float th)

    public static float Pow(float x, float y)

    public static float Rad2Deg(float rad)

    public static float Round(float s)

    public static float Sign(float s)

    public static float Sin(float s)

    public static float Sinh(float s)

    public static float Sqrt(float s)

    public static float Stepify(float s, float step)

    public static float Tan(float s)

    public static float Tanh(float s)
Tags: