Version

menu_open
virtual bool AK::SoundFrame::ISoundFrame::SetCurrentSwitch ( LPCWSTR  in_szSwitchGroupName,
LPCWSTR  in_szCurrentSwitchName,
AkGameObjectID  in_gameObjectID = IGameObject::s_WwiseGameObject  
) [pure virtual]

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

This function is thread-safe.

Returns:
True if the operation was successful, False otherwise
See also:
Parameters:
in_szSwitchGroupName  Switch group name
in_szCurrentSwitchName  Switch name
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