Random
loreline.Random (Class)
Seeded random number generator to get reproducible sequences of values.
Instance Members
seed: FloatinitialSeed: Floatnext(): FloatReturns a float number between [0,1)
| Returns |
|---|
| Float |
Return an integer between [min, max).
| Name | Type |
|---|---|
min |
Int |
max |
Int |
| Returns |
|---|
| Int |
Reset the initial value to that of the current seed.
| Name | Type | Default |
|---|---|---|
initialSeed |
Float | (optional) |
| Name | Type | Default |
|---|---|---|
seed |
Float | -1 |