Version

menu_open
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

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