Version

menu_open
Wwise SDK 2022.1.11

◆ GetSwitch() [1/2]

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

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

Returns
AK_Success if succeeded, or AK_IDNotFound if the game object was not registered or the Switch Group name cannot be found
See also
Parameters
in_switchGroupID of the Switch Group
in_gameObjectIDAssociated 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