Version

menu_open
virtual bool AK::SoundFrame::ISoundFrame::GetCurrentSwitch ( AkSwitchGroupID  in_switchGroupID,
ISwitch **  out_ppCurrentSwitch,
AkGameObjectID  in_gameObjectID = IGameObject::s_WwiseGameObject  
) const [pure virtual]

Get a specified game object's current switch for a given switch group (using the switch group's ID).

Returns:
True if the operation was successful, False otherwise
Parameters:
in_switchGroupID  Switch group ID
out_ppCurrentSwitch  Returned AddRef'd pointer to an ISwitch interface
in_gameObjectID  Queried game object (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