Version

    Other Documentation

menu_open
AKRESULT __cdecl AK::SoundEngine::RegisterGameObj ( AkGameObjectID  in_gameObjectID,
AkUInt32  in_uListenerMask = 0x01  
)

Register a game object.

Returns:
  • AK_Success if successful
  • AK_Fail if the specified AkGameObjectID is invalid (0 and -1 are invalid)
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_gameObjectID  ID of the game object to be registered
in_uListenerMask  Bitmask representing the active listeners (LSB = Listener 0, set to 1 means active)

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