Wwise SDK 2025.1.0
|
◆ AK_CommandBuffer_AddGeometry()
Copy geometry data to the data payload of the last added command. The AkGeometryParams geoParams; // Initialize with valid triangles, vertices, surfaces... auto cmd = (AkCmd_SA_SetGeometry*)AK_CommandBuffer_Add(buffer, AkCommand_SA_SetGeometry); cmd->geometrySetID = myID; AK_CommandBuffer_AddGeometry(buffer, &geoParams); Use AK_CommandBuffer_GeometrySize 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