Class TMP_Math
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public static class TMP_Math
Fields
FLOAT_MAX
Declaration
public const float FLOAT_MAX = 32767
Field Value
FLOAT_MIN
Declaration
public const float FLOAT_MIN = -32767
Field Value
FLOAT_UNSET
Declaration
public const float FLOAT_UNSET = -32767
Field Value
INT_MAX
Declaration
public const int INT_MAX = 2147483647
Field Value
INT_MIN
Declaration
public const int INT_MIN = -2147483647
Field Value
INT_UNSET
Declaration
public const int INT_UNSET = -32767
Field Value
MAX_16BIT
Declaration
public static Vector2 MAX_16BIT
Field Value
MIN_16BIT
Declaration
public static Vector2 MIN_16BIT
Field Value
Methods
Approximately(float, float)
Declaration
public static bool Approximately(float a, float b)
Parameters
Returns
Mod(int, int)
Declaration
public static int Mod(int a, int b)
Parameters
Type |
Name |
Description |
int |
a |
|
int |
b |
|
Returns