This generator will generate true random Vector4 in configurable intervals.
More...
|
static System.Collections.IEnumerator | Generate (Vector4 min, Vector4 max, int number=1, bool prng=false, bool silent=false, string id="") |
| Generates random Vector4. More...
|
|
static System.Collections.Generic.List< Vector4 > | GeneratePRNG (Vector4 min, Vector4 max, int number=1, int seed=0) |
| Generates random Vector4 with the C#-standard Pseudo-Random-Number-Generator. More...
|
|
static System.Collections.Generic.List< Vector4 > | GenerateInEditor (Vector4 min, Vector4 max, int number=1, bool prng=false, string id="") |
| Generates random Vector4 (Editor only). More...
|
|
|
static System.Collections.Generic.List< Vector4 > | Result => new System.Collections.Generic.List<Vector4>(result) |
| Returns the list of Vector4 from the last generation. More...
|
|
This generator will generate true random Vector4 in configurable intervals.
◆ Generate()
static System.Collections.IEnumerator Crosstales.TrueRandom.Module.ModuleVector4.Generate |
( |
Vector4 |
min, |
|
|
Vector4 |
max, |
|
|
int |
number = 1 , |
|
|
bool |
prng = false , |
|
|
bool |
silent = false , |
|
|
string |
id = "" |
|
) |
| |
|
static |
Generates random Vector4.
- Parameters
-
min | Smallest possible Vector4 (range: -1'000'000'000 - 1'000'000'000) |
max | Biggest possible Vector4 (range: -1'000'000'000 - 1'000'000'000) |
number | How many vectors you want to generate (range: 1 - 10'000, default: 1, optional) |
prng | Use Pseudo-Random-Number-Generator (default: false, optional) |
silent | Ignore callbacks (default: false, optional) |
id | id to identify the generated result (optional) |
◆ GenerateInEditor()
static System.Collections.Generic.List<Vector4> Crosstales.TrueRandom.Module.ModuleVector4.GenerateInEditor |
( |
Vector4 |
min, |
|
|
Vector4 |
max, |
|
|
int |
number = 1 , |
|
|
bool |
prng = false , |
|
|
string |
id = "" |
|
) |
| |
|
static |
Generates random Vector4 (Editor only).
- Parameters
-
min | Smallest possible Vector4 (range: -1'000'000'000 - 1'000'000'000) |
max | Biggest possible Vector4 (range: -1'000'000'000 - 1'000'000'000) |
number | How many Vector4 you want to generate (range: 1 - 10'000, default: 1, optional) |
prng | Use Pseudo-Random-Number-Generator (default: false, optional) |
id | id to identify the generated result (optional) |
- Returns
- List with the generated Vector4.
◆ GeneratePRNG()
static System.Collections.Generic.List<Vector4> Crosstales.TrueRandom.Module.ModuleVector4.GeneratePRNG |
( |
Vector4 |
min, |
|
|
Vector4 |
max, |
|
|
int |
number = 1 , |
|
|
int |
seed = 0 |
|
) |
| |
|
static |
Generates random Vector4 with the C#-standard Pseudo-Random-Number-Generator.
- Parameters
-
min | Smallest possible Vector4 |
max | Biggest possible Vector4 |
number | How many Vector4 you want to generate (default: 1, optional) |
seed | Seed for the PRNG (default: 0 (=standard), optional) |
- Returns
- List with the generated Vector4.
◆ Result
System.Collections.Generic.List<Vector4> Crosstales.TrueRandom.Module.ModuleVector4.Result => new System.Collections.Generic.List<Vector4>(result) |
|
static |
Returns the list of Vector4 from the last generation.
- Returns
- List of Vector4 from the last generation.
◆ OnGenerateFinished
GenerateVector4Finished Crosstales.TrueRandom.Module.ModuleVector4.OnGenerateFinished |
|
static |
Event to get a message with the generated Vector4 when finished.
◆ OnGenerateStart
GenerateVector4Start Crosstales.TrueRandom.Module.ModuleVector4.OnGenerateStart |
|
static |
Event to get a message when generating Vector4 has started.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/TrueRandom/TrueRandomPro/Assets/Plugins/crosstales/TrueRandom/Scripts/Module/ModuleVector4.cs