版本

menu_open
Wwise SDK 2021.1.14

◆ 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.

备注: 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.
参见

在文件 AkSpatialAudio.h510 行定义.

被这些函数引用 operator=().


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅