Random Value Generator.
More...
|
static float | GetRandomValue () |
| Returns a random float between 0.0 and 1.0.
|
|
static Vector2 | GetRandomVector2 () |
|
static Vector3 | GetRandomVector3 (bool isNormalised=true) |
|
static float | GetRandomValue (int min, int max) |
| Returns a random value between the min and max.
|
|
static T | GetRandomEnum< T > () |
| Returns a random value from an enum.
|
|
static Color | GetRandomColour () |
|
static int | NextInt (int n) |
|
◆ GetRandomEnum< T >()
static T VerticesEngine.vxRandom.GetRandomEnum< T > |
( |
| ) |
|
|
static |
Returns a random value from an enum.
- Template Parameters
-
- Returns
◆ GetRandomValue() [1/2]
static float VerticesEngine.vxRandom.GetRandomValue |
( |
| ) |
|
|
static |
Returns a random float between 0.0 and 1.0.
- Returns
◆ GetRandomValue() [2/2]
static float VerticesEngine.vxRandom.GetRandomValue |
( |
int | min, |
|
|
int | max ) |
|
static |
Returns a random value between the min and max.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- /github/workspace/src/VerticesEngine/src.shared/vxRandom.cs