版本

menu_open
Wwise SDK 2019.2.15

◆ SetGameObjectInRoom()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::SetGameObjectInRoom ( AkGameObjectID  in_gameObjectID,
AkRoomID  in_CurrentRoomID 
)

Set the room that the game object is currently located in - usually the result of a containment test performed by the client. The room must have been registered with SetRoom. Setting the room for a game object provides the basis for the sound propagation service, and also sets which room's reverb aux bus to send to. The sound propagation service traces the path of the sound from the emitter to the listener, and calculates the diffraction as the sound passes through each portal. The portals are used to define the spatial location of the diffracted and reverberated audio.

参见
参数
in_gameObjectID Game object ID
in_CurrentRoomID RoomID that was passed to AK::SpatialAudio::SetRoom

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅