#include <RandomNumberGenerator_ScriptBinding.h>
Inherits ScriptObject.
◆ getRandom()
Returns a random number integer value between 0 and an optional upper bound.
- Parameters
-
bound | The optional value that the random number will be less than. |
- Returns
- A 32 bit number or a value where 0 <= number < bound.
◆ setSeed()
Sets the seed and stream for the random number generater. Random values will always be the same for a seed/stream combination.
- Parameters
-
seed | An integer seed value. |
stream | An optional integer value for the stream. If no stream is set a random stream value will be picked. |
- Returns
- No return value.