版本

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.

备注: 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.h416 行定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅