Table of Contents

Wwise SDK 2019.1.6

◆ RegisterGameObj() [2/2]

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

Registers 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_pszObjName Name of the game object (for monitoring purpose)