返回介绍

AudioSource.spatialBlend 空间混合

发布于 2019-12-18 15:37:24 字数 1048 浏览 1050 评论 0 收藏 0

JavaScript => public var spatialBlend: float;
C# => public float spatialBlend;

Description 描述

Sets how much this AudioSource is affected by 3D spatialisation calculations (attenuation, doppler etc). 0.0 makes the sound full 2D, 1.0 makes it full 3D.

设置该音频源由3D空间计算(衰减,多普勒等)被影响多少。0.0使声音完全2D,1.0使声音完全3D。

Aside from determining if this AudioSource is heard as a 2D or 3D source, this property is useful to morph between the two modes.

除此之外确定AudioSource听到2D或3D源,这个属性是非常有用的在两种模式之间进行变化。

3D spatial calculations are applied after stereo panning is determined and can be used in conjunction with panStereo.

在立体声声像被确定之后3D空间计算才应用,可以与panStereo结合使用。

Morphing between the 2 modes is useful for sounds that should be progressively heard as normal 2D sounds the closer they are to the listener.

在2种模式之间的变化很有用的,对于声音在更接近听众时应当逐步听到正常2D声音。

AudioSource

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文