Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.17

◆ SetSwitch() [1/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetSwitch ( AkSwitchGroupID  in_switchGroup,
AkSwitchStateID  in_switchState,
AkGameObjectID  in_gameObjectID 
)

Sets the State of a Switch Group (by IDs).

Returns
Always returns AK_Success
See also
Parameters
in_switchGroupID of the Switch Group
in_switchStateID of the Switch
in_gameObjectIDAssociated game object ID

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