menu
 
Version
2024.1.6.8842

2024.1.6.8842

2023.1.14.8770

2025.1.0.8897

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624

menu

Wwise SDK 2024.1.6

◆ SetRandomSeed()

AKSOUNDENGINE_API void AK::SoundEngine::SetRandomSeed ( AkUInt32  in_uSeed)

Sets the random seed value. Can be used to synchronize randomness across instances of the Sound Engine.

Remarks
This seeds the number generator used for all container randomization and the plug-in RNG; since it acts globally, this should be called right before any PostEvent call where randomness synchronization is required, and cannot guarantee similar results for continuous containers.
See also
Parameters
in_uSeedRandom seed.

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