Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2018.1.11.6987 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2018.1.11

◆ GetSwitch() [1/2]

AKRESULT __cdecl AK::SoundEngine::Query::GetSwitch ( AkSwitchGroupID  in_switchGroup,
AkGameObjectID  in_gameObjectID,
AkSwitchStateID out_rSwitchState 
)

Get the state of a switch group (by IDs).

Returns
AK_Success if succeeded, or AK_IDNotFound if the game object was not registered
See also
Parameters
in_switchGroup ID of the switch group
in_gameObjectID Associated game object ID
out_rSwitchState ID of the switch

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