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.
|
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요