Class Bounds
- Namespace
- Coherence.Utils
- Assembly
- Coherence.Utils.dll
- Inheritance
-
Bounds
Constructors
Bounds()
Methods
Check(int, int, int, string)
[Conditional("DEBUG")]
public static void Check(int value, int min, int max, string variableName)
Parameters
value
int
min
int
max
int
variableName
string
Check(float, float, float, string)
[Conditional("DEBUG")]
public static void Check(float value, float min, float max, string variableName)
Parameters
value
float
min
float
max
float
variableName
string
Check(uint, uint, uint, string)
[Conditional("DEBUG")]
public static void Check(uint value, uint min, uint max, string variableName)
Parameters
value
uint
min
uint
max
uint
variableName
string
CheckPositionForNanAndInfinity(ref Vector3)
public static void CheckPositionForNanAndInfinity(ref Vector3 value)
Parameters
value
Vector3
Clamp(int, int, int)
public static int Clamp(int value, int min, int max)
Parameters
value
int
min
int
max
int
Returns
- int
Clamp(uint, uint, uint)
public static uint Clamp(uint value, uint min, uint max)
Parameters
value
uint
min
uint
max
uint
Returns
- uint