Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
static constexpr AkUInt32 RANDOM_MAX
AkUInt64 Seed() const
Returns the current seed value of the RNG.
static constexpr AkUInt64 RANDOM_C
float AkReal32
32-bit floating point
int32_t AkInt32
Signed 32-bit integer.
static AkInt32 Random(AkUInt64 &io_uSeed)
Returns a random 31-bit unsigned integer using provided seed.
static AkUInt32 Peek(AkUInt64 in_uSeed)
Returns the next random number to be generated without advancing the RNG state.
AkUInt32 Peek() const
Returns the next random number to be generated without advancing the RNG state.
uint64_t AkUInt64
Unsigned 64-bit integer.
AkUInt32 Random()
Returns a random 31-bit unsigned integer.
AkInt32 RandomInt()
Returns a random 31-bit integer.
static AkInt32 RandomInt(AkUInt64 &io_uSeed)
Returns a random 31-bit integer using provided seed.
uint32_t AkUInt32
Unsigned 32-bit integer.
static constexpr AkUInt64 RANDOM_A
CAkRng(AkUInt64 uSeed)
Initialize using the specified seed.
AkReal32 RandomFloat()
Returns a random float from 0.0 to 1.0.
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise