Version

menu_open
Wwise SDK 2018.1.11

◆ RoomGameObj_KeepRegistered

bool AkRoomParams::RoomGameObj_KeepRegistered

If set to true, the room game object will be registered on calling SetRoom(), and not released untill the room is deleted or removed with RemoveRoom(). If set to false, spatial audio will register the room object only when it is needed by the sound propagation system for the purposes of reverb, and will unregister the game object when all reverb tails have finished. If the game intends to post events on the room game object for the purpose of ambiance or room tones, RoomGameObj_KeepRegistered should be set to true.

Note: The room game object can be accessed though the ID that is passed to SetRoom() and the AkRoomID::AsGameObjectID() method. Posting an event on the room game object leverages automatic room game object placement by spatial audio so that when the listener is inside the room, the sound comes from all around the listener, and when the listener is outside the room, the sound comes from the portal(s). Typically, this would be used for surround ambiance beds or room tones. Point source sounds should use separate game objects that are registered as spatial audio emitters.
See also

Definition at line 462 of file AkSpatialAudio.h.


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