Version
menu

Wwise SDK 2025.1.0
AkCmd_SetSwitch Struct Reference

#include <AkCommandTypes.h>

Public Attributes

AkSwitchGroupID switchGroupID
 ID of the Switch Group. More...
 
AkSwitchStateID switchID
 ID of the Switch. More...
 
AkGameObjectID gameObjectID
 Associated game object ID. Must be specified. More...
 

Detailed Description

Sets the State of a Switch Group for a particular game object.

This command can fail for the following reason:

  • AK_InvalidParameter: switchGroupID is not valid or gameObjectID is not valid
  • AK_IDNotFound: gameObjectID is not a registered game object
See also

Definition at line 680 of file AkCommandTypes.h.


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