Version
menu

Wwise SDK 2025.1.1
AkCmd_SetRandomSeed Struct Reference

#include <AkCommandTypes.h>

Public Attributes

AkUInt32 seedValue
 Seed value to use for random number generation. More...
 

Detailed Description

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

Definition at line 1175 of file AkCommandTypes.h.


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