arrow_right Table of Contents

Other Documentation

Wwise SDK 2021.1.9

◆ 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.

This seeds the number generator used for all container randomizations; 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.
in_uSeed Random seed.