Version

menu_open
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.
Wwise SDK 2023.1.8
AkRng.h
static constexpr AkUInt32 RANDOM_MAX
Definition: AkRng.h:39
AkUInt64 Seed() const
Returns the current seed value of the RNG.
Definition: AkRng.h:47
static constexpr AkUInt64 RANDOM_C
Definition: AkRng.h:38
Definition: AkRng.h:35
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.
Definition: AkRng.h:77
static AkUInt32 Peek(AkUInt64 in_uSeed)
Returns the next random number to be generated without advancing the RNG state.
Definition: AkRng.h:91
AkUInt32 Peek() const
Returns the next random number to be generated without advancing the RNG state.
Definition: AkRng.h:53
uint64_t AkUInt64
Unsigned 64-bit integer.
AkUInt32 Random()
Returns a random 31-bit unsigned integer.
Definition: AkRng.h:59
AkInt32 RandomInt()
Returns a random 31-bit integer.
Definition: AkRng.h:65
static AkInt32 RandomInt(AkUInt64 &io_uSeed)
Returns a random 31-bit integer using provided seed.
Definition: AkRng.h:84
uint32_t AkUInt32
Unsigned 32-bit integer.
static constexpr AkUInt64 RANDOM_A
Definition: AkRng.h:37
CAkRng(AkUInt64 uSeed)
Initialize using the specified seed.
Definition: AkRng.h:42
AkReal32 RandomFloat()
Returns a random float from 0.0 to 1.0.
Definition: AkRng.h:71

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

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