Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
override void | Initialise (SScript runtime, object wrapper) |
Public Member Functions inherited from ScriptClass< T > | |
void | ReportError (string error, bool fatal, UnityEngine.Object target=null) |
Public Member Functions inherited from ScriptClassWrapper< T > | |
override void | Initialise (SScript runtime, object wrapper) |
Static Public Member Functions | |
static float | Random () |
Returns a random value from 0 to 1 (inclusive) More... | |
static float | RandomRange (float min, float max) |
Returns a value between min and max, inclusive, randomly. More... | |
static int | RandomInteger (int min, int max) |
Returns a value between min (inclusive) and max (exclusive). More... | |
static float | Abs (float v) |
Returns the absolute number (i.e. always positive) of the input value. More... | |
static int | Abs (int v) |
Returns the absolute number (i.e. always positive) of the input value. More... | |
static float | Acos (float v) |
Returns the arc cosine of the input value More... | |
static bool | Approximately (float a, float b) |
Returns true if the values approximately are equal. Due to the nature of floating point values on modern computers, it is often possible to get two values that should match, which are very close, but not exactly the same. More... | |
static float | Asin (float v) |
static float | Atan (float v) |
static float | Atan2 (float y, float x) |
static int | Ceil (float v) |
static float | Clamp (float v, float min, float max) |
static float | Clamp01 (float v) |
static int | ClosestPowerOfTwo (int v) |
static float | Cos (float v) |
static float | DeltaAngle (float current, float target) |
static float | Exp (float v) |
static int | Floor (float v) |
static float | GammaToLinearSpace (float v) |
static float | InverseLerp (float a, float b, float value) |
static bool | IsPowerOfTwo (int v) |
static float | Lerp (float a, float b, float v) |
static float | LerpAngle (float a, float b, float v) |
static float | LerpUnclamped (float a, float b, float v) |
static float | LinearToGammaSpace (float v) |
static float | Log (float v) |
static float | Log (float v, float p) |
static float | Log10 (float v) |
static float | Max (float a, float b) |
static float | Min (float a, float b) |
static float | MoveTowards (float value, float target, float delta) |
static float | MoveTowardsAngle (float value, float target, float delta) |
static int | NextPowerOfTwo (int v) |
static float | PerlinNoise (float x, float y) |
static float | PingPong (float t, float length) |
static float | Pow (float value, float pow) |
static float | Repeat (float value, float length) |
static int | Round (float value) |
static float | Sign (float value) |
static float | Sin (float value) |
static float | SmoothStep (float from, float to, float t) |
static float | Sqrt (float value) |
static float | Tan (float value) |
Static Public Attributes | |
static readonly float | Pi = 3.14159265358979f |
Additional Inherited Members | |
Protected Member Functions inherited from ScriptClass< T > | |
void | Initialise (SScript runtime) |
Properties inherited from ScriptClass< T > | |
override bool | Alive [get] |
Return if the component is alive. More... | |
virtual bool | Alive [get] |
DynValue | CachedData [get, set] |
Properties inherited from ScriptClassWrapper< T > | |
T | _wrap [get] |
|
static |
Returns the absolute number (i.e. always positive) of the input value.
v |
|
static |
Returns the absolute number (i.e. always positive) of the input value.
v |
|
static |
Returns the arc cosine of the input value
v |
|
static |
Returns true if the values approximately are equal. Due to the nature of floating point values on modern computers, it is often possible to get two values that should match, which are very close, but not exactly the same.
a | |
b |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
virtual |
Implements ScriptClass< T >.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Returns a random value from 0 to 1 (inclusive)
|
static |
Returns a value between min (inclusive) and max (exclusive).
min | |
max |
|
static |
Returns a value between min and max, inclusive, randomly.
min | |
max |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |