This generator will generate true random Vector3 in configurable intervals.
More...
|
static System.Collections.IEnumerator | Generate (Vector3 min, Vector3 max, int number=1, bool prng=false, bool silent=false, string id="") |
| Generates random Vector3. More...
|
|
static System.Collections.Generic.List< Vector3 > | GeneratePRNG (Vector3 min, Vector3 max, int number=1, int seed=0) |
| Generates random Vector3 with the C#-standard Pseudo-Random-Number-Generator. More...
|
|
static System.Collections.Generic.List< Vector3 > | GenerateInEditor (Vector3 min, Vector3 max, int number=1, bool prng=false, string id="") |
| Generates random Vector3 (Editor only). More...
|
|
|
static System.Collections.Generic.List< Vector3 > | Result => new System.Collections.Generic.List<Vector3>(result) |
| Returns the list of Vector3 from the last generation. More...
|
|
This generator will generate true random Vector3 in configurable intervals.
◆ Generate()
static System.Collections.IEnumerator Crosstales.TrueRandom.Module.ModuleVector3.Generate |
( |
Vector3 |
min, |
|
|
Vector3 |
max, |
|
|
int |
number = 1 , |
|
|
bool |
prng = false , |
|
|
bool |
silent = false , |
|
|
string |
id = "" |
|
) |
| |
|
static |
Generates random Vector3.
- Parameters
-
min | Smallest possible Vector3 (range: -1'000'000'000 - 1'000'000'000) |
max | Biggest possible Vector3 (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<Vector3> Crosstales.TrueRandom.Module.ModuleVector3.GenerateInEditor |
( |
Vector3 |
min, |
|
|
Vector3 |
max, |
|
|
int |
number = 1 , |
|
|
bool |
prng = false , |
|
|
string |
id = "" |
|
) |
| |
|
static |
Generates random Vector3 (Editor only).
- Parameters
-
min | Smallest possible Vector3 (range: -1'000'000'000 - 1'000'000'000) |
max | Biggest possible Vector3 (range: -1'000'000'000 - 1'000'000'000) |
number | How many Vector3 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 Vector3.
◆ GeneratePRNG()
static System.Collections.Generic.List<Vector3> Crosstales.TrueRandom.Module.ModuleVector3.GeneratePRNG |
( |
Vector3 |
min, |
|
|
Vector3 |
max, |
|
|
int |
number = 1 , |
|
|
int |
seed = 0 |
|
) |
| |
|
static |
Generates random Vector3 with the C#-standard Pseudo-Random-Number-Generator.
- Parameters
-
min | Smallest possible Vector3 |
max | Biggest possible Vector3 |
number | How many Vector3 you want to generate (default: 1, optional) |
seed | Seed for the PRNG (default: 0 (=standard), optional) |
- Returns
- List with the generated Vector3.
◆ Result
System.Collections.Generic.List<Vector3> Crosstales.TrueRandom.Module.ModuleVector3.Result => new System.Collections.Generic.List<Vector3>(result) |
|
static |
Returns the list of Vector3 from the last generation.
- Returns
- List of Vector3 from the last generation.
◆ OnGenerateFinished
GenerateVector3Finished Crosstales.TrueRandom.Module.ModuleVector3.OnGenerateFinished |
|
static |
Event to get a message with the generated Vector3 when finished.
◆ OnGenerateStart
GenerateVector3Start Crosstales.TrueRandom.Module.ModuleVector3.OnGenerateStart |
|
static |
Event to get a message when generating Vector3 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/ModuleVector3.cs