MathCommon Class
Enums
AXIS#
Name | Description |
---|
X = = 0 | Positive X axis. |
Y = = 1 | Positive Y axis. |
Z = = 2 | Positive Z axis. |
NX = = 3 | Negative X axis. |
NY = = 4 | Negative Y axis. |
NZ = = 5 | Negative Z axis. |
Members
float ToFloat
(
string v
)
#
Converts the current value to a
float value.
Arguments
- string v - A string value to be converted.
Return value
Resulting
float value.
float ToFloat
(
decimal v
)
#
Converts the current value to a
float value.
Arguments
- decimal v - A decimal value to be converted.
Return value
Resulting
float value.
float ToFloat
(
double v
)
#
Converts the current value to a
float value.
Arguments
- double v - A double value to be converted.
Return value
Resulting
float value.
float ToFloat
(
int v
)
#
Converts the current value to a
float value.
Arguments
- int v - A int value to be converted.
Return value
Resulting
float value.
float ToFloat
(
uint v
)
#
Converts the current value to a
float value.
Arguments
- uint v - A uint value to be converted.
Return value
Resulting
float value.
float ToFloat
(
short v
)
#
Converts the current value to a
float value.
Arguments
- short v - A short value to be converted.
Return value
Resulting
float value.
float ToFloat
(
ushort v
)
#
Converts the current value to a
float value.
Arguments
- ushort v - A ushort value to be converted.
Return value
Resulting
float value.
float ToFloat
(
long v
)
#
Converts the current value to a
float value.
Arguments
- long v - A long value to be converted.
Return value
Resulting
float value.
float ToFloat
(
ulong v
)
#
Converts the current value to a
float value.
Arguments
- ulong v - A ulong value to be converted.
Return value
Resulting
float value.
float ToFloat
(
byte v
)
#
Converts the current value to a
float value.
Arguments
- byte v - A byte value to be converted.
Return value
Resulting
float value.
float ToFloat
(
sbyte v
)
#
Converts the current value to a
float value.
Arguments
- sbyte v - A sbyte value to be converted.
Return value
Resulting
float value.
float ToFloat
(
bool v
)
#
Converts the current value to a
float value.
Arguments
- bool v - Vector multiplier.
Return value
Resulting
float value.
double ToDouble
(
string v
)
#
Converts the argument's value to a
double value.
Arguments
- string v - A string value to be converted.
Return value
Resulting
double value.
double ToDouble
(
float v
)
#
Converts the argument's value to a
double value.
Arguments
- float v - A float value to be converted.
Return value
Resulting
double value.
double ToDouble
(
decimal v
)
#
Converts the argument's value to a
double value.
Arguments
- decimal v - A decimal value to be converted.
Return value
Resulting
double value.
double ToDouble
(
int v
)
#
Converts the argument's value to a
double value.
Arguments
- int v - A int value to be converted.
Return value
Resulting
double value.
double ToDouble
(
uint v
)
#
Converts the argument's value to a
double value.
Arguments
- uint v - A uint value to be converted.
Return value
Resulting
double value.
double ToDouble
(
short v
)
#
Converts the argument's value to a
double value.
Arguments
- short v - A short value to be converted.
Return value
Resulting
double value.
double ToDouble
(
ushort v
)
#
Converts the argument's value to a
double value.
Arguments
- ushort v - A ushort value to be converted.
Return value
Resulting
double value.
double ToDouble
(
long v
)
#
Converts the argument's value to a
double value.
Arguments
- long v - A long value to be converted.
Return value
Resulting
double value.
double ToDouble
(
ulong v
)
#
Converts the argument's value to a
double value.
Arguments
- ulong v - A ulong value to be converted.
Return value
Resulting
double value.
double ToDouble
(
byte v
)
#
Converts the argument's value to a
double value.
Arguments
- byte v - A byte value to be converted.
Return value
Resulting
double value.
double ToDouble
(
sbyte v
)
#
Converts the argument's value to a
double value.
Arguments
- sbyte v - A sbyte value to be converted.
Return value
Resulting
double value.
double ToDouble
(
bool v
)
#
Converts the argument's value to a
double value.
Arguments
- bool v - Vector multiplier.
Return value
Resulting
double value.
int ToInt
(
string v
)
#
Converts the argument's value to an
integer value.
Arguments
- string v - A string value to be converted.
Return value
Resulting
int value.
int ToInt
(
float v
)
#
Converts the argument's value to an
integer value.
Arguments
- float v - A float value to be converted.
Return value
Resulting
int value.
int ToInt
(
decimal v
)
#
Converts the argument's value to an
integer value.
Arguments
- decimal v - A decimal value to be converted.
Return value
Resulting
int value.
int ToInt
(
double v
)
#
Converts the argument's value to an
integer value.
Arguments
- double v - A double value to be converted.
Return value
Resulting
int value.
int ToInt
(
uint v
)
#
Converts the argument's value to an
integer value.
Arguments
- uint v - A uint value to be converted.
Return value
Resulting
int value.
int ToInt
(
short v
)
#
Converts the argument's value to an
integer value.
Arguments
- short v - A short value to be converted.
Return value
Resulting
int value.
int ToInt
(
ushort v
)
#
Converts the argument's value to an
integer value.
Arguments
- ushort v - A ushort value to be converted.
Return value
Resulting
int value.
int ToInt
(
long v
)
#
Converts the argument's value to an
integer value.
Arguments
- long v - A long value to be converted.
Return value
Resulting
int value.
int ToInt
(
ulong v
)
#
Converts the argument's value to an
integer value.
Arguments
- ulong v - A ulong value to be converted.
Return value
Resulting
int value.
int ToInt
(
byte v
)
#
Converts the argument's value to an
integer value.
Arguments
- byte v - A byte value to be converted.
Return value
Resulting
int value.
int ToInt
(
sbyte v
)
#
Converts the argument's value to an
integer value.
Arguments
- sbyte v - A sbyte value to be converted.
Return value
Resulting
int value.
int ToInt
(
bool v
)
#
Converts the argument's value to an
integer value.
Arguments
- bool v - Vector multiplier.
Return value
Resulting
int value.
long ToLong
(
string v
)
#
Converts the argument's value to a
long value.
Arguments
- string v - A string value to be converted.
Return value
Resulting
long value.
long ToLong
(
float v
)
#
Converts the argument's value to a
long value.
Arguments
- float v - A float value to be converted.
Return value
Resulting
long value.
long ToLong
(
decimal v
)
#
Converts the argument's value to a
long value.
Arguments
- decimal v - A decimal value to be converted.
Return value
Resulting
long value.
long ToLong
(
double v
)
#
Converts the argument's value to a
long value.
Arguments
- double v - A double value to be converted.
Return value
Resulting
long value.
long ToLong
(
int v
)
#
Converts the argument's value to a
long value.
Arguments
- int v - A int value to be converted.
Return value
Resulting
long value.
long ToLong
(
uint v
)
#
Converts the argument's value to a
long value.
Arguments
- uint v - A uint value to be converted.
Return value
Resulting
long value.
long ToLong
(
short v
)
#
Converts the argument's value to a
long value.
Arguments
- short v - A short value to be converted.
Return value
Resulting
long value.
long ToLong
(
ushort v
)
#
Converts the argument's value to a
long value.
Arguments
- ushort v - A ushort value to be converted.
Return value
Resulting
long value.
long ToLong
(
ulong v
)
#
Converts the argument's value to a
long value.
Arguments
- ulong v - A ulong value to be converted.
Return value
Resulting
long value.
long ToLong
(
byte v
)
#
Converts the argument's value to a
long value.
Arguments
- byte v - A byte value to be converted.
Return value
Resulting
long value.
long ToLong
(
sbyte v
)
#
Converts the argument's value to a
long value.
Arguments
- sbyte v - A sbyte value to be converted.
Return value
Resulting
long value.
long ToLong
(
bool v
)
#
Converts the argument's value to a
long value.
Arguments
- bool v - Vector multiplier.
Return value
Resulting
long value.
byte ToByte
(
string v
)
#
Converts the argument's value to a
byte value.
Arguments
- string v - A string value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
float v
)
#
Converts the argument's value to a
byte value.
Arguments
- float v - A float value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
decimal v
)
#
Converts the argument's value to a
byte value.
Arguments
- decimal v - A decimal value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
double v
)
#
Converts the argument's value to a
byte value.
Arguments
- double v - A double value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
int v
)
#
Converts the argument's value to a
byte value.
Arguments
- int v - A int value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
uint v
)
#
Converts the argument's value to a
byte value.
Arguments
- uint v - A uint value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
short v
)
#
Converts the argument's value to a
byte value.
Arguments
- short v - A short value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
ushort v
)
#
Converts the argument's value to a
byte value.
Arguments
- ushort v - A ushort value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
long v
)
#
Converts the argument's value to a
byte value.
Arguments
- long v - A long value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
ulong v
)
#
Converts the argument's value to a
byte value.
Arguments
- ulong v - A ulong value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
sbyte v
)
#
Converts the argument's value to a
byte value.
Arguments
- sbyte v - A sbyte value to be converted.
Return value
Resulting
byte value.
byte ToByte
(
bool v
)
#
Converts the argument's value to a
byte value.
Arguments
- bool v - Vector multiplier.
Return value
Resulting
byte value.
bool ToBool
(
string v
)
#
Converts the argument's value to a
boolean value.
Arguments
- string v - A string value to be converted.
Return value
Converted value.
bool ToBool
(
float v
)
#
Converts the argument's value to a
boolean value.
Arguments
- float v - A float value to be converted.
Return value
Converted value.
bool ToBool
(
decimal v
)
#
Converts the argument's value to a
boolean value.
Arguments
- decimal v - A decimal value to be converted.
Return value
Converted value.
bool ToBool
(
double v
)
#
Converts the argument's value to a
boolean value.
Arguments
- double v - A double value to be converted.
Return value
Converted value.
bool ToBool
(
int v
)
#
Converts the argument's value to a
boolean value.
Arguments
- int v - A int value to be converted.
Return value
Converted value.
bool ToBool
(
uint v
)
#
Converts the argument's value to a
boolean value.
Arguments
- uint v - A uint value to be converted.
Return value
Converted value.
bool ToBool
(
short v
)
#
Converts the argument's value to a
boolean value.
Arguments
- short v - A short value to be converted.
Return value
Converted value.
bool ToBool
(
ushort v
)
#
Converts the argument's value to a
boolean value.
Arguments
- ushort v - A ushort value to be converted.
Return value
Converted value.
bool ToBool
(
long v
)
#
Converts the argument's value to a
boolean value.
Arguments
- long v - A long value to be converted.
Return value
Converted value.
bool ToBool
(
ulong v
)
#
Converts the argument's value to a
boolean value.
Arguments
- ulong v - A ulong value to be converted.
Return value
Converted value.
bool ToBool
(
byte v
)
#
Converts the argument's value to a
boolean value.
Arguments
- byte v - A byte value to be converted.
Return value
Converted value.
bool ToBool
(
sbyte v
)
#
Converts the argument's value to a
boolean value.
Arguments
- sbyte v - A sbyte value to be converted.
Return value
Converted value.
int FloatToIntBits
(
float value
)
#
Returns an integer corresponding to the bits of the given value.
Arguments
- float value - Value to be converted.
Return value
Resulting
int value.
uint FloatToUIntBits
(
float value
)
#
Returns an unsigned integer corresponding to the bits of the given value.
Arguments
- float value - Value to be converted.
Return value
Resulting
uint value.
float IntBitsToFloat
(
int value
)
#
Returns the float corresponding to the given bits.
Arguments
- int value - Value to be converted.
Return value
Resulting
float value.
float IntBitsToFloat
(
uint value
)
#
Returns the unsigned float corresponding to the given bits.
Arguments
- uint value - Value to be converted.
Return value
Resulting
float value.
long FloatToLongBits
(
double value
)
#
Returns a long value corresponding to the bits of the given value.
Arguments
- double value - Value to be converted.
Return value
Resulting
long value.
double LongBitsToFloat
(
long value
)
#
Returns the double corresponding to the given bits.
Arguments
- long value - Value to be converted.
Return value
Resulting
double value.
ulong DoubleIntToLong
(
uint a1, uint a2
)
#
Returns a conversion of two
ulong values to a
ulong value.
Arguments
- uint a1 - Source uint value.
- uint a2 - Source uint value.
Return value
Resulting
ulong value.
uint[]
LongToDoubleInt
(
ulong a
)
#
Returns two
ulong values converted from a
ulong value.
Arguments
- ulong a - Source ulong value.
Return value
Return value.
bool Equals
(
float v0, float v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- float v0 - First argument.
- float v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
double v0, double v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- double v0 - First argument.
- double v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
int v0, int v1
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- int v0 - First argument.
- int v1 - Second argument.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
long v0, long v1
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- long v0 - First argument.
- long v1 - Second argument.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
Vector2 v0, Vector2 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- Vector2 v0 - First argument.
- Vector2 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
Vector3 v0, Vector3 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- Vector3 v0 - First argument.
- Vector3 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
Vector4 v0, Vector4 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- Vector4 v0 - First argument.
- Vector4 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
vec2 v0, vec2 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- vec2 v0 - First argument.
- vec2 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
vec3 v0, vec3 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- vec3 v0 - First argument.
- vec3 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
vec4 v0, vec4 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- vec4 v0 - First argument.
- vec4 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
quat v0, quat v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- quat v0 - First argument.
- quat v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
dvec2 v0, dvec2 v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- dvec2 v0 - First argument.
- dvec2 v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
dvec3 v0, dvec3 v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- dvec3 v0 - First argument.
- dvec3 v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
dvec4 v0, dvec4 v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- dvec4 v0 - First argument.
- dvec4 v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
ivec2 v0, ivec2 v1
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- ivec2 v0 - First argument.
- ivec2 v1 - Second argument.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
ivec3 v0, ivec3 v1
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- ivec3 v0 - First argument.
- ivec3 v1 - Second argument.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
ivec4 v0, ivec4 v1
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- ivec4 v0 - First argument.
- ivec4 v1 - Second argument.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
mat2 v0, mat2 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- mat2 v0 - First argument.
- mat2 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
mat3 v0, mat3 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- mat3 v0 - First argument.
- mat3 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
mat4 v0, mat4 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- mat4 v0 - First argument.
- mat4 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
dmat4 v0, dmat4 v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- dmat4 v0 - First argument.
- dmat4 v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- BoundSphere v0 - First argument.
- BoundSphere v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool Equals
(
BoundBox v0, BoundBox v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- BoundBox v0 - First argument.
- BoundBox v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- BoundFrustum v0 - First argument.
- BoundFrustum v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
float a, float b, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- float a - First argument.
- float b - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
double a, double b, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- double a - First argument.
- double b - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
Vector2 v0, Vector2 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- Vector2 v0 - First argument.
- Vector2 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
Vector3 v0, Vector3 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- Vector3 v0 - First argument.
- Vector3 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
Vector4 v0, Vector4 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- Vector4 v0 - First argument.
- Vector4 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
vec2 v0, vec2 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- vec2 v0 - First argument.
- vec2 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
vec3 v0, vec3 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- vec3 v0 - First argument.
- vec3 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
vec4 v0, vec4 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- vec4 v0 - First argument.
- vec4 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
quat v0, quat v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- quat v0 - First argument.
- quat v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
dvec2 v0, dvec2 v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- dvec2 v0 - First argument.
- dvec2 v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
dvec3 v0, dvec3 v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- dvec3 v0 - First argument.
- dvec3 v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
dvec4 v0, dvec4 v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- dvec4 v0 - First argument.
- dvec4 v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
mat2 v0, mat2 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- mat2 v0 - First argument.
- mat2 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
mat3 v0, mat3 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- mat3 v0 - First argument.
- mat3 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
mat4 v0, mat4 v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- mat4 v0 - First argument.
- mat4 v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
dmat4 v0, dmat4 v1, double epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- dmat4 v0 - First argument.
- dmat4 v1 - Second argument.
- double epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- BoundSphere v0 - First argument.
- BoundSphere v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
bool EqualsNearly
(
BoundBox v0, BoundBox v1, float epsilon
)
#
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- BoundBox v0 - First argument.
- BoundBox v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
Checks if two arguments represent the same value with regard to the specified accuracy (epsilon).
Arguments
- BoundFrustum v0 - First argument.
- BoundFrustum v1 - Second argument.
- float epsilon - Epsilon value, that determines accuracy of comparison.
Return value
true if the arguments are equal; otherwise,
false.
float Abs
(
float x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Resulting
float value.
double Abs
(
double x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Resulting
double value.
decimal Abs
(
decimal x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Resulting
decimal value.
int Abs
(
int x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Resulting
int value.
short Abs
(
short x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Resulting
short value.
sbyte Abs
(
sbyte x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Resulting
sbyte value.
long Abs
(
long x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Resulting
long value.
Vector2 Abs
(
Vector2 x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Vector3 Abs
(
Vector3 x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Vector4 Abs
(
Vector4 x
)
#
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
Returns the absolute value of the specified argument.
Arguments
Return value
Return value.
bool IsNaN
(
float x
)
#
Returns a value that indicates whether the argument is not a number (NaN).
Arguments
Return value
true if the argument is not a number (NaN); otherwise,
false.
bool IsNaN
(
double x
)
#
Returns a value that indicates whether the argument is not a number (NaN).
Arguments
Return value
true if the argument is not a number (NaN); otherwise,
false.
bool IsNaN
(
Vector2 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
Vector3 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
Vector4 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
vec2 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
vec3 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
vec4 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
quat v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
dvec2 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
dvec3 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNaN
(
dvec4 v
)
#
Returns a value that indicates whether the argument contains at least one component, which is not a number (NaN).
Arguments
Return value
true if the argument contains at least one component, which is not a number (NaN); otherwise,
false.
bool IsNull
(
float x
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if the argument is null; otherwise,
false.
bool IsNull
(
double x
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if the argument is null; otherwise,
false.
bool IsNull
(
decimal x
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if the argument is null; otherwise,
false.
bool IsNull
(
int x
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if the argument is null; otherwise,
false.
bool IsNull
(
short x
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if the argument is null; otherwise,
false.
bool IsNull
(
sbyte x
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if the argument is null; otherwise,
false.
bool IsNull
(
long x
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if the argument is null; otherwise,
false.
bool IsNull
(
Vector2 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
Vector3 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
Vector4 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
vec2 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
vec3 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
vec4 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
quat v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
dvec2 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
dvec3 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
dvec4 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
ivec2 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
ivec3 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsNull
(
ivec4 v
)
#
Returns a value that indicates whether the argument is null.
Arguments
Return value
true if all components of the argument are null; otherwise,
false.
bool IsInfinity
(
float x
)
#
Returns a value indicating whether the argument evaluates to negative or positive infinity.
Arguments
Return value
true if the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
double x
)
#
Returns a value indicating whether the argument evaluates to negative or positive infinity.
Arguments
Return value
true if the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
Vector2 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
Vector3 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
Vector4 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
vec2 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
vec3 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
vec4 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
quat v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
dvec2 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
dvec3 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool IsInfinity
(
dvec4 v
)
#
Returns a value indicating whether any component of the argument evaluates to negative or positive infinity.
Arguments
Return value
true if any component of the argument evaluates to negative or positive infinity; otherwise,
false.
bool Less
(
float v0, float v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- float v0 - First value.
- float v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
double v0, double v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- double v0 - First value.
- double v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
decimal v0, decimal v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- decimal v0 - First value.
- decimal v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
short v0, short v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- short v0 - First value.
- short v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
ushort v0, ushort v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- ushort v0 - First value.
- ushort v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
int v0, int v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- int v0 - First value.
- int v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
long v0, long v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- long v0 - First value.
- long v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
ulong v0, ulong v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- ulong v0 - First value.
- ulong v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
byte v0, byte v1
)
#
Returns a value indicating whether the first argument is less than the second argument.
Arguments
- byte v0 - First value.
- byte v1 - Second value.
Return value
true if the first argument is less than the second argument; otherwise,
false.
bool Less
(
Vector2 v0, Vector2 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
- Vector2 v0 - First value.
- Vector2 v1 - Second value.
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
Vector3 v0, Vector3 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
- Vector3 v0 - First value.
- Vector3 v1 - Second value.
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
Vector4 v0, Vector4 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
- Vector4 v0 - First value.
- Vector4 v1 - Second value.
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
vec2 v0, vec2 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
- vec2 v0 - First value.
- vec2 v1 - Second value.
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
vec3 v0, vec3 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
- vec3 v0 - First value.
- vec3 v1 - Second value.
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
vec4 v0, vec4 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
- vec4 v0 - First value.
- vec4 v1 - Second value.
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
quat v0, quat v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
- quat v0 - First value.
- quat v1 - Second value.
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
dvec2 v0, dvec2 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
dvec3 v0, dvec3 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
dvec4 v0, dvec4 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
ivec2 v0, ivec2 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
ivec3 v0, ivec3 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool Less
(
ivec4 v0, ivec4 v1
)
#
Returns a value indicating whether all components of the first argument are less than all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than all components of the second argument; otherwise,
false.
bool LessOrEqual
(
float v0, float v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- float v0 - First value.
- float v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
double v0, double v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- double v0 - First value.
- double v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
decimal v0, decimal v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- decimal v0 - First value.
- decimal v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
short v0, short v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- short v0 - First value.
- short v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
ushort v0, ushort v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- ushort v0 - First value.
- ushort v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
int v0, int v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- int v0 - First value.
- int v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
long v0, long v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- long v0 - First value.
- long v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
ulong v0, ulong v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- ulong v0 - First value.
- ulong v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
byte v0, byte v1
)
#
Returns a value indicating whether the first argument is less than or equal to the second argument.
Arguments
- byte v0 - First value.
- byte v1 - Second value.
Return value
true if the first argument is less than or equal to the second argument; otherwise,
false.
bool LessOrEqual
(
Vector2 v0, Vector2 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
- Vector2 v0 - First value.
- Vector2 v1 - Second value.
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
Vector3 v0, Vector3 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
- Vector3 v0 - First value.
- Vector3 v1 - Second value.
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
Vector4 v0, Vector4 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
- Vector4 v0 - First value.
- Vector4 v1 - Second value.
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
vec2 v0, vec2 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
- vec2 v0 - First value.
- vec2 v1 - Second value.
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
vec3 v0, vec3 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
- vec3 v0 - First value.
- vec3 v1 - Second value.
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
vec4 v0, vec4 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
- vec4 v0 - First value.
- vec4 v1 - Second value.
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
quat v0, quat v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
- quat v0 - First value.
- quat v1 - Second value.
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
dvec2 v0, dvec2 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
dvec3 v0, dvec3 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
dvec4 v0, dvec4 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
ivec2 v0, ivec2 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
ivec3 v0, ivec3 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool LessOrEqual
(
ivec4 v0, ivec4 v1
)
#
Returns a value indicating whether all components of the first argument are less than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are less than or equal to all components of the second argument; otherwise,
false.
bool More
(
float v0, float v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- float v0 - First value.
- float v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
double v0, double v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- double v0 - First value.
- double v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
decimal v0, decimal v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- decimal v0 - First value.
- decimal v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
short v0, short v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- short v0 - First value.
- short v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
ushort v0, ushort v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- ushort v0 - First value.
- ushort v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
int v0, int v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- int v0 - First value.
- int v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
long v0, long v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- long v0 - First value.
- long v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
ulong v0, ulong v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- ulong v0 - First value.
- ulong v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
byte v0, byte v1
)
#
Returns a value indicating whether the first argument is greater than the second argument.
Arguments
- byte v0 - First value.
- byte v1 - Second value.
Return value
true if the first argument is greater than the second argument; otherwise,
false.
bool More
(
Vector2 v0, Vector2 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
- Vector2 v0 - First value.
- Vector2 v1 - Second value.
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
Vector3 v0, Vector3 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
- Vector3 v0 - First value.
- Vector3 v1 - Second value.
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
Vector4 v0, Vector4 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
- Vector4 v0 - First value.
- Vector4 v1 - Second value.
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
vec2 v0, vec2 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
- vec2 v0 - First value.
- vec2 v1 - Second value.
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
vec3 v0, vec3 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
- vec3 v0 - First value.
- vec3 v1 - Second value.
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
vec4 v0, vec4 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
- vec4 v0 - First value.
- vec4 v1 - Second value.
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
quat v0, quat v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
- quat v0 - First value.
- quat v1 - Second value.
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
dvec2 v0, dvec2 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
dvec3 v0, dvec3 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
dvec4 v0, dvec4 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
ivec2 v0, ivec2 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
ivec3 v0, ivec3 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool More
(
ivec4 v0, ivec4 v1
)
#
Returns a value indicating whether all components of the first argument are greater than all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
float v0, float v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- float v0 - First value.
- float v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
double v0, double v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- double v0 - First value.
- double v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
decimal v0, decimal v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- decimal v0 - First value.
- decimal v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
short v0, short v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- short v0 - First value.
- short v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
ushort v0, ushort v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- ushort v0 - First value.
- ushort v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
int v0, int v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- int v0 - First value.
- int v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
long v0, long v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- long v0 - First value.
- long v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
ulong v0, ulong v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- ulong v0 - First value.
- ulong v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
byte v0, byte v1
)
#
Returns a value indicating whether the first argument is greater than or equal to the second argument.
Arguments
- byte v0 - First value.
- byte v1 - Second value.
Return value
true if the first argument is greater than or equal to the second argument; otherwise,
false.
bool MoreOrEqual
(
Vector2 v0, Vector2 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
- Vector2 v0 - First value.
- Vector2 v1 - Second value.
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
Vector3 v0, Vector3 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
- Vector3 v0 - First value.
- Vector3 v1 - Second value.
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
Vector4 v0, Vector4 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
- Vector4 v0 - First value.
- Vector4 v1 - Second value.
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
vec2 v0, vec2 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
- vec2 v0 - First value.
- vec2 v1 - Second value.
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
vec3 v0, vec3 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
- vec3 v0 - First value.
- vec3 v1 - Second value.
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
vec4 v0, vec4 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
- vec4 v0 - First value.
- vec4 v1 - Second value.
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
quat v0, quat v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
- quat v0 - First value.
- quat v1 - Second value.
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
dvec2 v0, dvec2 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
dvec3 v0, dvec3 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
dvec4 v0, dvec4 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
ivec2 v0, ivec2 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
ivec3 v0, ivec3 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
bool MoreOrEqual
(
ivec4 v0, ivec4 v1
)
#
Returns a value indicating whether all components of the first argument are greater than or equal to all components of the second argument.
Arguments
Return value
true if all components of the first argument are greater than or equal to all components of the second argument; otherwise,
false.
float Inc
(
float v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
float value.
double Inc
(
double v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
double value.
decimal Inc
(
decimal v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
decimal value.
short Inc
(
short v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
short value.
ushort Inc
(
ushort v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
ushort value.
int Inc
(
int v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
int value.
long Inc
(
long v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
long value.
ulong Inc
(
ulong v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
ulong value.
byte Inc
(
byte v
)
#
Increments a source value and returns the result.
Arguments
Return value
Resulting
byte value.
Vector2 Inc
(
Vector2 v
)
#
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Vector3 Inc
(
Vector3 v
)
#
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Vector4 Inc
(
Vector4 v
)
#
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
Increments each component of the source value and returns the result.
Arguments
Return value
Return value.
float Dec
(
float v
)
#
Decrements each component of the source value and returns the result.
Arguments
Return value
Resulting
float value.
double Dec
(
double v
)
#
Decrements a source value and returns the result.
Arguments
Return value
Resulting
double value.
decimal Dec
(
decimal v
)
#
Decrements a source value and returns the result.
Arguments
Return value
Resulting
decimal value.
short Dec
(
short v
)
#
Decrements a source value and returns the result.
Arguments
Return value
Resulting
short value.
ushort Dec
(
ushort v
)
#
Decrements a source value and returns the result.
Arguments
Return value
Resulting
ushort value.
int Dec
(
int v
)
#
Decrements a source value and returns the result.
Arguments
Return value
Resulting
int value.
long Dec
(
long v
)
#
Decrements a source value and returns the result.
Arguments
Return value
Resulting
long value.
ulong Dec
(
ulong v
)
#
Decrements a source value and returns the result.
Arguments
Return value
Resulting
ulong value.
byte Dec
(
byte v
)
#
Decrements a source value and returns the result.
Arguments
Return value
Resulting
byte value.
Vector2 Dec
(
Vector2 v
)
#
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Vector3 Dec
(
Vector3 v
)
#
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Vector4 Dec
(
Vector4 v
)
#
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
Decrements each component of the source value and returns the result.
Arguments
Return value
Return value.
float Negative
(
float v
)
#
Returns the negative of a source value.
Arguments
Return value
Resulting
float value.
double Negative
(
double v
)
#
Returns the negative of a source value.
Arguments
Return value
Resulting
double value.
decimal Negative
(
decimal v
)
#
Returns the negative of a source value.
Arguments
Return value
Resulting
decimal value.
int Negative
(
int v
)
#
Returns the negative of a source value.
Arguments
Return value
Resulting
int value.
long Negative
(
long v
)
#
Returns the negative of a source value.
Arguments
Return value
Resulting
long value.
Vector2 Negative
(
Vector2 v
)
#
Returns the negative of the source value components.
Arguments
Return value
Return value.
Vector3 Negative
(
Vector3 v
)
#
Returns the negative of the source value components.
Arguments
Return value
Return value.
Vector4 Negative
(
Vector4 v
)
#
Returns the negative of the source value components.
Arguments
Return value
Return value.
Returns the negative of the source value components.
Arguments
Return value
Return value.
Returns the negative of the source value components.
Arguments
Return value
Return value.
Returns the negative of the source value components.
Arguments
Return value
Return value.
Returns the negative of the source value components.
Arguments
Return value
Return value.
Returns the negative of the source value components
Arguments
Return value
Return value.
Returns the negative of the source value components.
Arguments
Return value
Return value.
Returns the negative of the source value components.
Arguments
Return value
Return value.
Returns the negative of the source value components.
Arguments
Return value
Return value.
Returns the negative of the source value components.
Arguments
Return value
Return value.
float Sin
(
float v
)
#
Returns the sine of an argument.
Arguments
Return value
Resulting
float value.
double Sin
(
double v
)
#
Returns the sine of an argument.
Arguments
Return value
Resulting
double value.
Vector2 Sin
(
Vector2 v
)
#
Returns the sine of an argument.
Arguments
Return value
Return value.
Vector3 Sin
(
Vector3 v
)
#
Returns the sine of an argument.
Arguments
Return value
Return value.
Vector4 Sin
(
Vector4 v
)
#
Returns the sine of an argument.
Arguments
Return value
Return value.
Returns the sine of an argument.
Arguments
Return value
Return value.
Returns the sine of an argument.
Arguments
Return value
Return value.
Returns the sine of an argument.
Arguments
Return value
Return value.
Returns the sine of an argument.
Arguments
Return value
Return value.
Returns the sine of an argument.
Arguments
Return value
Return value.
Returns the sine of an argument.
Arguments
Return value
Return value.
float Sinh
(
float v
)
#
Returns the hyperbolic sine of an argument.
Arguments
Return value
Resulting
float value.
double Sinh
(
double v
)
#
Returns the hyperbolic sine of an argument.
Arguments
Return value
Resulting
double value.
Vector2 Sinh
(
Vector2 v
)
#
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
Vector3 Sinh
(
Vector3 v
)
#
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
Vector4 Sinh
(
Vector4 v
)
#
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic sine of an argument.
Arguments
Return value
Return value.
float Asin
(
float v
)
#
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Resulting
float value.
double Asin
(
double v
)
#
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Resulting
double value.
Vector2 Asin
(
Vector2 v
)
#
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
Vector3 Asin
(
Vector3 v
)
#
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
Vector4 Asin
(
Vector4 v
)
#
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
Returns the arc sine of the argument — the angle in radians, whose sine is equal to the argument.
a == sin(asin(a)) for every value that is within asin()'s range.
Arguments
Return value
Return value.
float Cos
(
float angle_radians
)
#
Returns the cosine of an argument.
Arguments
- float angle_radians - Angle, in radians.
Return value
Resulting
float value.
double Cos
(
double angle_radians
)
#
Returns the cosine of an argument.
Arguments
- double angle_radians - Angle, in radians.
Return value
Resulting
double value.
Vector2 Cos
(
Vector2 v
)
#
Returns the cosine of an argument.
Arguments
Return value
Return value.
Vector3 Cos
(
Vector3 v
)
#
Returns the cosine of an argument.
Arguments
Return value
Return value.
Vector4 Cos
(
Vector4 v
)
#
Returns the cosine of an argument.
Arguments
Return value
Return value.
Returns the cosine of an argument.
Arguments
Return value
Return value.
Returns the cosine of an argument.
Arguments
Return value
Return value.
Returns the cosine of an argument.
Arguments
Return value
Return value.
Returns the cosine of an argument.
Arguments
Return value
Return value.
Returns the cosine of an argument.
Arguments
Return value
Return value.
Returns the cosine of an argument.
Arguments
Return value
Return value.
float Cosh
(
float angle_radians
)
#
Returns the hyperbolic cosine of an argument.
Arguments
- float angle_radians - Angle, in radians.
Return value
Resulting
float value.
double Cosh
(
double angle_radians
)
#
Returns the hyperbolic cosine of an argument.
Arguments
- double angle_radians - Angle, in radians.
Return value
Resulting
double value.
Vector2 Cosh
(
Vector2 v
)
#
Returns the hyperbolic cosine of an argument.
Arguments
Return value
Return value.
Vector3 Cosh
(
Vector3 v
)
#
Returns the hyperbolic cosine of an argument.
Arguments
Return value
Return value.
Vector4 Cosh
(
Vector4 v
)
#
Returns the hyperbolic cosine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic cosine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic cosine of an argument.
Arguments
Return value
Return value.
Returns the hyperbolic cosine of an argument.
Arguments
Return value
Return value.