Version

menu_open
virtual void AK::SoundFrame::IClient::OnSwitchesNotif ( Notif  in_eNotif,
AkUniqueID  in_switchGroupID  
) [pure virtual]

Switch notification. This method is called when a switch group or a switch is added, removed or changed.
It is also called (with in_eNotif equal to Notif_Changed) when the current switch in a switch group changes on any game object.

Note.gif
Note: This notification will be sent for all switch changes (through Wwise, the Sound Frame, or the sound engine).

When all switches are reset from Wwise, this method will be called once with in_eNotif equal to Notif_Reset and in_switchGroupID equal to AK_INVALID_UNIQUE_ID. This means that all switches have been reset to their default value on all game objects.

Parameters:
in_eNotif  Notification type
in_switchGroupID  Unique ID of the switch group

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