版本

menu_open
警告:系统已根据您所用大版本 (2023.1.7.8574) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2023.1.7

◆ GeometryInstanceID

AkGeometrySetID AkRoomParams::GeometryInstanceID

Assign a Geometry Instance GeometryInstanceID, which describes the size and shape of the Room. Assigning a Geometry Instance to a Room serves several purposes: the shape and surface properties of the geometry are used to calculate the transmission of reverb and room tones through walls, it allows Spatial Audio to automatically determine which Game Objects are in which Room, and it allows for visualization of the room inside the Game Object 3D Viewer. To create Room geometry, a Geometry Set must be created using AK::SpatialAudio::SetGeometry, and then a Geometry Instance must be created using AK::SpatialAudio::SetGeometryInstance. The Room itself, however, can be created either before or after the geometry is created.

备注: If the geometry instance is only used for room containment and not for reflection, diffraction, or transmission, then set AkGeometryInstanceParams::UseForReflectionAndDiffraction to false.
参见

在文件 AkSpatialAudio.h466 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅