Class Mathf
Assembly: Sylves.dll
Syntax
public static class Mathf
Properties
PI
Declaration
public static float PI { get; }
Property Value
Methods
Abs(float)
Declaration
public static float Abs(float v)
Parameters
| Type |
Name |
Description |
| float |
v |
|
Returns
Acos(float)
Declaration
public static float Acos(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Asin(float)
Declaration
public static float Asin(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Atan(float)
Declaration
public static float Atan(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Atan2(float, float)
Declaration
public static float Atan2(float y, float x)
Parameters
Returns
CeilToInt(float)
Declaration
public static int CeilToInt(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Clamp(float, float, float)
Declaration
public static float Clamp(float value, float min, float max)
Parameters
Returns
Clamp01(float)
Declaration
public static float Clamp01(float value)
Parameters
| Type |
Name |
Description |
| float |
value |
|
Returns
Cos(float)
Declaration
public static float Cos(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
FloorToInt(float)
Declaration
public static int FloorToInt(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Max(float, float)
Declaration
public static float Max(float v1, float v2)
Parameters
Returns
Max(float, float, float)
Declaration
public static float Max(float v1, float v2, float v3)
Parameters
Returns
Min(float, float)
Declaration
public static float Min(float v1, float v2)
Parameters
Returns
Min(float, float, float)
Declaration
public static float Min(float v1, float v2, float v3)
Parameters
Returns
RoundToInt(float)
Declaration
public static int RoundToInt(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Sin(float)
Declaration
public static float Sin(float x)
Parameters
| Type |
Name |
Description |
| float |
x |
|
Returns
Sqrt(float)
Declaration
public static float Sqrt(float v)
Parameters
| Type |
Name |
Description |
| float |
v |
|
Returns