Version

menu_open
Wwise SDK 2022.1.12

◆ GeometryInstanceID

AkGeometrySetID AkRoomParams::GeometryInstanceID

Associate this room with the geometry instance GeometryInstanceID, describing the shape of the room. When a room is associated with a geometry instance, the vertices are used to compute the spread value for room transmission. The vertices are used for computing an oriented bounding box for the room where the orientation of the bounding box is given by the Up and Front vectors. The center of the room is defined as the oriented bounding box center. The extent of the bounding box is computed from the geometry set's vertices projected on to the orientation axes.

Note: If the geometry set is only to be used for the room and not for reflection and diffraction calculation, then make sure to set AkGeometryParams::EnableTriangles to false. It will still be necessary to create an instance for the geometry, so that the vertices can be positioned, scaled and rotated as desired.
See also

Definition at line 416 of file AkSpatialAudio.h.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise