Table of Contents

Wwise SDK 2018.1.11

◆ GetSwitch() [2/2]

AKRESULT __cdecl AK::SoundEngine::Query::GetSwitch ( const char *  in_pstrSwitchGroupName,
AkGameObjectID  in_GameObj,
AkSwitchStateID out_rSwitchState 
)

Get the state of a switch group.

Returns
AK_Success if succeeded, or AK_IDNotFound if the game object was not registered or the switch group name can not be found
See also
Parameters
in_pstrSwitchGroupName String name of the switch group
in_GameObj Associated game object ID
out_rSwitchState ID of the switch