Static Public Member Functions | |
static float | Range (float minValue, float maxValue) |
Returns a random float that is greater or equal to minValue and less than maxValue . More... | |
static int | Range (int minValue, int maxValue) |
Returns a random integer that is greater or equal to minValue and less than maxValue . More... | |
static int | Next (int minValue, int maxValue) |
Returns a random integer that is greater or equal to minValue and less than maxValue . More... | |
static int | Next (int maxValue) |
Returns a random integer that is greater or equal to 0 and less than maxValue . More... | |
static int | Next () |
Returns a non-negative random integer. More... | |
Properties | |
static float | Value [get] |
Get a float that is greater than or equal to 0.0, and less than 1.0. More... | |
|
inline static |
Returns a random integer that is greater or equal to minValue and less than maxValue .
minValue | The inclusive lower bound of the random number returned. |
maxValue | The exclusive upper bound of the random number returned. maxValue must be greater than or equal to minValue . |
|
inline static |
Returns a random integer that is greater or equal to 0 and less than maxValue .
maxValue | Max value. |
|
inline static |
Returns a non-negative random integer.
|
inline static |
Returns a random float that is greater or equal to minValue and less than maxValue .
minValue | The inclusive lower bound of the random value returned. |
maxValue | The exclusive upper bound of the random value returned. maxValue must be greater than or equal to minValue . |
|
inline static |
Returns a random integer that is greater or equal to minValue and less than maxValue .
minValue | The inclusive lower bound of the random number returned. |
maxValue | The exclusive upper bound of the random number returned. maxValue must be greater than or equal to minValue . |
|
static get |
Get a float that is greater than or equal to 0.0, and less than 1.0.
The random value.