Version

menu_open
virtual bool AK::SoundFrame::ISoundFrame::SetCurrentSwitch ( AkSwitchGroupID  in_switchGroupID,
AkSwitchStateID  in_currentSwitchID,
AkGameObjectID  in_gameObjectID = IGameObject::s_WwiseGameObject  
) [pure virtual]

Set the current switch for a given switch group (using IDs).

This function is thread-safe.

Returns:
True if the operation was successful, False otherwise
See also:
Parameters:
in_switchGroupID  Switch group ID
in_currentSwitchID  Switch ID
in_gameObjectID  Game object on which the switch will be set (optional)

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