版本

menu_open
AKRESULT __cdecl AK::SoundEngine::Query::GetPlayingIDsFromGameObject ( AkGameObjectID  in_GameObjId,
AkUInt32 io_ruNumIDs,
AkPlayingID out_aPlayingIDs  
)

Get the list PlayingIDs associated with the given game object. This function does not acquire the main audio lock.

Note.gif
Note: It is possible to call GetPlayingIDsFromGameObject with io_ruNumItems = 0 to get the total size of the structure that should be allocated for out_aPlayingIDs.
Returns:
AK_Success if succeeded, AK_InvalidParameter if out_aPlayingIDs is NULL while io_ruNumItems > 0
Parameters:
in_GameObjId  Game object ID
io_ruNumIDs  Number of items in array provided / Number of items filled in array
out_aPlayingIDs  Array of AkPlayingID items to fill

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅