AudioEchoFilter.dryMix 直达声混响

var dryMix : float

Description描述

Volume of original signal to pass to output. 0.0 to 1.0. Default = 1.0.

原始信号输出的比率。0.0~1.0,默认=1.0。

其实就是,调整未加效果的直达声信号的大小比例。

// Listen to only Echo (not the original audio source)
// Set the wet mix to 0 and you will disable the echo.
//只听回声(不是原始音频源)
//设置wetMix到0并且你将禁用回声
@script RequireComponent(AudioSource)
@script RequireComponent(AudioEchoFilter)

function Start() {
	GetComponent(AudioEchoFilter).wetMix = 1.0;
	GetComponent(AudioEchoFilter).dryMix = 0.0;
}
最后修改:2011年1月10日 Monday 23:25

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。