Open 3D Engine EMotionFX Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <Random.h>
Public Member Functions | |
LcgRandom (AZ::u64 seed=1234) | |
void | SetSeed (AZ::u64 seed) |
AZ::u64 | GetSeed () const |
unsigned int | GetRandom () |
float | GetRandomFloat () |
A very simple and fast LCG random number generator, useful if you need a fast pseudo-random sequence and don't really care about the quality of the sequence. This is similar to the SimpleLcgRandom class in AZ with a few modification.