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.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise