menu
 
Version
2023.1.11.8682

2024.1.3.8749

2023.1.11.8682

2022.1.18.8567

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_open
Wwise SDK 2023.1.11

◆ RoomGameObj_KeepRegistered

bool AkRoomParams::RoomGameObj_KeepRegistered

If set to true, the room game object is registered on calling SetRoom(), and not released until the room is deleted or removed with RemoveRoom(). If set to false, Spatial Audio registers the room object only when it is needed by the sound propagation system for the purposes of reverb, and unregisters the game object when all reverb tails are finished. We recommend that you set RoomGameObj_KeepRegistered to true if you use RTPCs on the room game object, if you call SetScalingFactor(), or call PostEvent() for the purpose of ambience or room tones.

infoNote: The room game object can be accessed through the ID that is passed to SetRoom() and the AkRoomID::AsGameObjectID() method. Posting an event on the room game object uses 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 ambience beds or room tones. For point source sounds, use separate game objects that are registered as Spatial Audio emitters.
See also

Definition at line 454 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