Wwise SDK 2023.1.4

◆ GetSwitch() [2/2]

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

Get the current Switch value of the specified Switch Group, for a game object

AK_Success if succeeded, or AK_IDNotFound if the game object was not registered or the Switch Group name cannot be found
See also
in_pstrSwitchGroupNameString name of the Switch Group
in_GameObjAssociated game object ID
out_rSwitchStateID 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