Version

menu_open
Wwise SDK 2023.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 randomizations 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.

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise