Method | Description | |
---|---|---|
Acos ( float radians ) : float | ||
Asin ( float sin ) : float | ||
Atan2 ( float y, float x ) : float | ||
Ceiling ( float value ) : int | ||
Clamp ( byte value, byte min, byte max ) : byte |
Clamps a value to an interval.
|
|
Clamp ( float value, float min, float max ) : float |
Clamps a value to an interval.
|
|
Clamp ( int value, int min, int max ) : int |
Clamps a value to an interval.
|
|
Cos ( float radians ) : float | ||
Exp ( float value ) : float | ||
Floor ( float value ) : int | ||
IsZero ( float value ) : bool | ||
Lerp ( byte value1, byte value2, float amount ) : byte |
Interpolates linearly between the supplied values.
|
|
Lerp ( float value1, float value2, float amount ) : float |
Interpolates linearly between the supplied values.
|
|
Lerp ( float value1, float value2, float startAmount, float endAmount, float amount ) : float | ||
Lerp ( int value1, int value2, float amount ) : int |
Interpolates linearly between the supplied values.
|
|
Log2 ( float d ) : float | ||
Mod ( double a, double b ) : double |
Returns a mod b. This differs from the % operator with respect to negative numbers.
|
|
Mod ( int a, int b ) : int |
Returns a mod b. This differs from the % operator with respect to negative numbers.
|
|
PerspectiveInterpolate ( float value1, float value2, float w1, float w2, float amountRangeStart, float amountRangeEnd, float amount ) : float | ||
Pow ( float x, float y ) : float | ||
Quadratic ( float A, float B, float C, float &t0, float &t1 ) : bool | ||
Round ( float value ) : int | ||
Saturate ( float value ) : float | ||
Sin ( float radians ) : float | ||
SmoothStep ( float a, float b, float x ) : float |
A smoothed step function. A cubic function is used to smooth the step between two thresholds.
|
|
Sqrt ( float value ) : float | ||
Swap ( float &v1, float &v2 ) : void | ||
Tan ( float radians ) : float | ||
ToDegrees ( float radians ) : float | ||
ToRadians ( float degrees ) : float |
public static Atan2 ( float y, float x ) : float | ||
y | float | |
x | float | |
return | float |
public static Clamp ( byte value, byte min, byte max ) : byte | ||
value | byte | The input parameter. |
min | byte | The lower clamp threshold. |
max | byte | The upper clamp threshold. |
return | byte |
public static Clamp ( float value, float min, float max ) : float | ||
value | float | The input parameter. |
min | float | The lower clamp threshold. |
max | float | The upper clamp threshold. |
return | float |
public static Clamp ( int value, int min, int max ) : int | ||
value | int | The input parameter. |
min | int | The lower clamp threshold. |
max | int | The upper clamp threshold. |
return | int |
public static Lerp ( byte value1, byte value2, float amount ) : byte | ||
value1 | byte | The lower interpolation bound. |
value2 | byte | The upper interpolation bound. |
amount | float | The interpolation parameter. |
return | byte |
public static Lerp ( float value1, float value2, float amount ) : float | ||
value1 | float | The lower interpolation bound. |
value2 | float | The upper interpolation bound. |
amount | float | The interpolation parameter. |
return | float |
public static Lerp ( float value1, float value2, float startAmount, float endAmount, float amount ) : float | ||
value1 | float | |
value2 | float | |
startAmount | float | |
endAmount | float | |
amount | float | |
return | float |
public static Lerp ( int value1, int value2, float amount ) : int | ||
value1 | int | The lower interpolation bound. |
value2 | int | The upper interpolation bound. |
amount | float | The interpolation parameter. |
return | int |
public static Mod ( double a, double b ) : double | ||
a | double | The dividend. |
b | double | The divisor. |
return | double |
public static Mod ( int a, int b ) : int | ||
a | int | The dividend. |
b | int | The divisor. |
return | int |
public static PerspectiveInterpolate ( float value1, float value2, float w1, float w2, float amountRangeStart, float amountRangeEnd, float amount ) : float | ||
value1 | float | |
value2 | float | |
w1 | float | |
w2 | float | |
amountRangeStart | float | |
amountRangeEnd | float | |
amount | float | |
return | float |
public static Pow ( float x, float y ) : float | ||
x | float | |
y | float | |
return | float |
public static Quadratic ( float A, float B, float C, float &t0, float &t1 ) : bool | ||
A | float | |
B | float | |
C | float | |
t0 | float | |
t1 | float | |
return | bool |
public static Saturate ( float value ) : float | ||
value | float | |
return | float |
public static SmoothStep ( float a, float b, float x ) : float | ||
a | float | The lower threshold position. |
b | float | The upper threshold position. |
x | float | The input parameter. |
return | float |
public static Swap ( float &v1, float &v2 ) : void | ||
v1 | float | |
v2 | float | |
return | void |
public static ToDegrees ( float radians ) : float | ||
radians | float | |
return | float |
public static ToRadians ( float degrees ) : float | ||
degrees | float | |
return | float |