Version
menu
|
Wwise SDK 2025.1.4
|
#include AkCommandTypes.h>
Public Attributes | |
| AkGameObjectID | gameObjectID |
| Game Object ID. More... | |
| AkUInt32 | numValues |
| Number of values. More... | |
Sets the Auxiliary Busses to route the specified game object. To clear the game object's auxiliary sends, numValues must be 0.
The Sound Engine expects an array of AkAuxSendValue objects after the command. The number of items must correspond to the number of channels in channelConfig. For example:
AkAuxSendValue values[2]; // Initialize array as required auto cmd = (AkCmd_SetGameObjectAuxSendValues*)AK_CommandBuffer_Add(buffer, AkCommand_SetGameObjectAuxSendValues); cmd->numValues = 2; AK_CommandBuffer_AddArray(buffer, sizeof(AkAuxSendValue), cmd->numValues, values);
This command can fail for the following reasons:
gameObjectID is outside the valid range, or incomplete array after the command.gameObjectID is not a registered game object ID.Definition at line 444 of file AkCommandTypes.h.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise