Table of Contents

AKRESULT __cdecl AK::SoundEngine::Query::GetSwitch ( AkSwitchGroupID  in_switchGroup,
AkGameObjectID  in_gameObjectID,
AkSwitchStateID out_rSwitchState  
)

Get the state of a switch group (by IDs).

Returns:
AK_Success if succeeded, or AK_IDNotFound if the game object was not registered
See also:
Parameters:
in_switchGroup  ID of the switch group
in_gameObjectID  Associated game object ID
out_rSwitchState  ID of the switch