版本

menu_open
Wwise SDK 2019.1.11

◆ diffractionMaxPathLength

AkReal32 AkEmitterSettings::diffractionMaxPathLength

The maximum length of a geometric diffraction path between the emitter and the listener, in the case that they are in the same room. When the emitter and listener are in different rooms, this value represents the maximum possible diffracted path-segment length between the emitter and a portal (in the same room as the emitter). When the listener and emitter are in different rooms, calculated paths between the listener and portals, and/or those between two portals, are shared between all emitters requiring them, and so are not subject to diffractionMaxPathLength. The final path from the emitter to the listener may end up being longer than diffractionMaxPathLength, when the total path traverses a number of rooms and portals. Should generally be no longer (and possibly shorter for less CPU usage) than the maximum attenuation used on the sound emitter. Setting diffractionMaxPathLength to 0 effectively disables geometric diffraction for this sound emitter. When using geometric diffraction, a good starting point is the maximum possible distance that the sound should travel.

在文件 AkSpatialAudio.h190 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅