API ReferenceFacepunch.ActionGraphs.Nodes
Mathclass
Nodes relating to numbers and geometry.
object→Math
Methods15
Showing 15 methods
public static float Atan(float x)
| Parameter | Type | Description |
|---|---|---|
| x | float | — |
Returns:
float—public static float Atan2(float y, float x)
| Parameter | Type | Description |
|---|---|---|
| y | float | — |
| x | float | — |
Returns:
float—public static T Clamp(T value, T min, T max)
| Parameter | Type | Description |
|---|---|---|
| value | T | — |
| min | T | — |
| max | T | — |
Returns:
T—public static float Cos(float x)
| Parameter | Type | Description |
|---|---|---|
| x | float | — |
Returns:
float—public static T Max(T a, T b)
| Parameter | Type | Description |
|---|---|---|
| a | T | — |
| b | T | — |
Returns:
T—public static T Min(T a, T b)
| Parameter | Type | Description |
|---|---|---|
| a | T | — |
| b | T | — |
Returns:
T—public static float Sin(float x)
| Parameter | Type | Description |
|---|---|---|
| x | float | — |
Returns:
float—public static float Sqrt(float x)
| Parameter | Type | Description |
|---|---|---|
| x | float | — |
Returns:
float—public static float Tan(float x)
| Parameter | Type | Description |
|---|---|---|
| x | float | — |
Returns:
float—No results match this filter.