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.
| 备注: 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. - 参见
-
|
在文件 AkSpatialAudio.h 第 416 行定义.