Other Documentation

Wwise SDK 2022.1.8

◆ 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).

Always returns AK_Success
See also
in_switchGroup ID of the Switch Group
in_switchState ID of the Switch
in_gameObjectID Associated 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