Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.8.8601 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.8

◆ RegisterGameObj() [2/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::RegisterGameObj ( AkGameObjectID  in_gameObjectID,
const char *  in_pszObjName 
)

Registers a game object.

Returns
  • AK_Success if successful
  • AK_InvalidParameter if the specified AkGameObjectID is invalid. Range 0xFFFFFFFFFFFFFFE0 (-32) to 0xFFFFFFFFFFFFFFFF (-1) are invalid inclusively.
Remarks
Registering a game object twice does nothing. Unregistering it once unregisters it no matter how many times it has been registered.
See also
Parameters
in_gameObjectIDID of the game object to be registered. Valid range is [0 to 0xFFFFFFFFFFFFFFDF].
in_pszObjNameName of the game object (for monitoring purpose)

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