Wwise SDK 2023.1.4

◆ GetPlayingIDsFromGameObject()

AKSOUNDENGINE_API AKRESULT 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: 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.
AK_Success if succeeded, AK_InvalidParameter if out_aPlayingIDs is NULL while io_ruNumItems > 0
in_GameObjIdGame object ID
io_ruNumIDsNumber of items in array provided / Number of items filled in array
out_aPlayingIDsArray 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