|
static float | RandomFloatRanged (float maxVal) |
|
static float | RandomFloatRanged (float minVal, float maxVal) |
|
static int | RandomInt () |
|
static int | RandomInt (int maxValue) |
| Returns a non-negative random integer that is less than the specified maximum. More...
|
|
static int | RandomInt (int minValue, int maxValue) |
|
static int | RoundRandomized (float f) |
|
static T | ChooseWeighted< T > (List< ValueTuple< T, float > > weightList) |
| This function only works if w is bigger than 0 More...
|
|
static T | ChooseWeighted< T > (List< ValueTuple< T, float > > weightList, out int chosenIndex) |
|
static int | RandomIntWithSeed (uint seed1, uint seed4=MBFastRandom.DefaultSeedW, uint seed2=MBFastRandom.DefaultSeedY, uint seed3=MBFastRandom.DefaultSeedZ) |
| Returns a non-negative random integer with seed. More...
|
|
static float | RandomFloatWithSeed (uint seed1, uint seed4=MBFastRandom.DefaultSeedW, uint seed2=MBFastRandom.DefaultSeedY, uint seed3=MBFastRandom.DefaultSeedZ) |
| Returns a random float with seed that is greater than or equal to 0.0, and less than 1.0 with Seed. More...
|
|