RandomGenerator:setSeed
EditSeed the RandomGenerator with a new seed. Each seed will cause the RandomGenerator to produce a unique sequence of random numbers.
Arguments
Name | Type | Description |
seed | number | The random seed. |
Returns
Nothing
Arguments
Name | Type | Description |
low | number | The lower 32 bits of the seed. |
high | number | The upper 32 bits of the seed. |
Returns
Nothing
Notes
For precise 64 bit seeds, you should specify the lower and upper 32 bits of the seed separately. Otherwise, seeds larger than 2^53 will start to lose precision.