版本

menu_open
Wwise SDK 2022.1.12

◆ GetListeners()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::Query::GetListeners ( AkGameObjectID  in_GameObjectID,
AkGameObjectID out_ListenerObjectIDs,
AkUInt32 oi_uNumListeners 
)

Get a game object's listeners.

返回
AK_Success if succeeded, or AK_IDNotFound if the game object was not registered
参见
参数
in_GameObjectIDSource game object identifier
out_ListenerObjectIDsPointer to an array of AkGameObjectID's. Will be populated with the IDs of the listeners of in_GameObjectID. Pass NULL to querry the size required.
oi_uNumListenersPass in the the available number of elements in the array 'out_ListenerObjectIDs'. After return, the number of valid elements filled in the array.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅