lovr.math.setRandomSeed
EditSeed the random generator with a new seed. Each seed will cause lovr.math.random
and lovr.math.randomNormal
to produce a unique sequence of random numbers. This is done once automatically at startup by lovr.run
.
lovr.math.setRandomSeed(seed)
Arguments
Name | Type | Description |
seed | number | The new seed. |
Returns
Nothing