版本

menu_open
Wwise SDK 2022.1.18

◆ bEnableGeometricDiffractionAndTransmission

bool AkSpatialAudioInitSettings::bEnableGeometricDiffractionAndTransmission

Enable computation of geometric diffraction and transmission paths for all sources that have the Enable Diffraction and Transmission box checked in the Positioning tab of the Wwise Property Editor. This flag enables sound paths around (diffraction) and through (transmission) geometry (see AK::SpatialAudio::SetGeometry). Setting bEnableGeometricDiffractionAndTransmission to false implies that geometry is only to be used for reflection calculation. Diffraction edges must be enabled on geometry for diffraction calculation (see AkGeometryParams). If bEnableGeometricDiffractionAndTransmission is false but a sound has Enable Diffraction and Transmission selected in the Positioning tab of the authoring tool, the sound will diffract through portals but will pass through geometry as if it is not there. One would typically disable this setting in the case that the game intends to perform its own obstruction calculation, but geometry is still passed to spatial audio for reflection calculation.

在文件 AkSpatialAudio.h75 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅