Generates random numbers based on a deterministic approach.
More...
|
int | Next () |
| Returns a random integer.
|
|
int | Next (int minValue, int maxValue) |
| Returns a integer between a min value [inclusive] and a max value [exclusive].
|
|
FP | Next (float minValue, float maxValue) |
| Returns a FP between a min value [inclusive] and a max value [inclusive].
|
|
FP | NextFP () |
| Returns a FP between 0.0 [inclusive] and 1.0 [inclusive].
|
|
void | Initialize () |
|
void | Initialize (int seed) |
|
void | Initialize (int[] init) |
|
|
static TSRandom | New (int seed) |
| Generates a new instance based on a given seed.
|
|
static int | CallNext () |
| Returns a random integer.
|
|
static int | Range (int minValue, int maxValue) |
| Returns a integer between a min value [inclusive] and a max value [exclusive].
|
|
static FP | Range (float minValue, float maxValue) |
| Returns a FP between a min value [inclusive] and a max value [inclusive].
|
|
|
static int | MaxRandomInt [get] |
|
static FP | value [get] |
| Returns a FP between 0.0 [inclusive] and 1.0 [inclusive].
|
|
static TSVector | insideUnitSphere [get] |
| Returns a random TSVector representing a point inside a sphere with radius 1.
|
|
Generates random numbers based on a deterministic approach.
Definition at line 8 of file TSRandom.cs.
The documentation for this class was generated from the following file:
- C:/Jeff/Projetos/Unit3d/truesync/Assets/TrueSync/Math/TSRandom.cs