버전

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.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요