Wwise SDK 2025.1.0
|
◆ AK_CommandBuffer_AddArray()
Copy an array of arbitrary-sized objects to the data payload of the last added command. Some commands, like auto cmd = (AkCmd_SetListeners*)AK_CommandBuffer_Add(buffer, AkCommand_SetListeners); cmd->gameObjectID = 100; cmd->numListenerIDs = mylistenerArray.size(); AK_CommandBuffer_AddArray(buffer, sizeof(AkGameObjectID), mylistenerArray.size(), mylistenerArray.data()); Use AK_CommandBuffer_ArraySize to calculate the size required to store the data.
|
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