Version

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

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise