版本

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

◆ QueryWetDiffraction()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::QueryWetDiffraction ( AkPortalID  in_portal,
AkReal32 out_wetDiffraction 
)

Query information about the wet diffraction amount for the portal in_portal, returned as a normalized value out_wetDiffraction in the range [0,1].
The wet diffraction is calculated from how far into the 'shadow region' the listener is from the portal. Unlike dry diffraction, the wet diffraction does not depend on the incident angle, but only the normal of the portal. This value is applied by spatial audio, to the Diffraction value and built-in game parameter of the room game object that is on the other side of the portal (relative to the listener). This function must acquire the global sound engine lock and therefore, may block waiting for the lock.

参见
参数
in_portalThe ID of the game object that the client wishes to query.
out_wetDiffractionThe number of slots in out_aPaths, after returning the number of valid elements written.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅