audioechofilter.delay 延迟

2015-1-3 01:37| 发布者: 杨炎| 查看: 1554| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: audioechofilter.decayratio 衰变率vardecayratio: floatdescription描述echo decay per delay. 0 to 1. 1.0 = no decay, 0.0 = total decay (i.e. simple 1 line delay). default = 0.5.回声每次延迟。0~1,1.0=不 ...

audioechofilter.decayratio 衰变率

vardecayratio: float

description描述

echo decay per delay. 0 to 1. 1.0 = no decay, 0.0 = total decay (i.e. simple 1 line delay). default = 0.5.

回声每次延迟。0~1,1.0=不延迟,0.0=总延迟。默认=0.5。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

void start() {

getcomponent().decayratio = 0.0f;

}

}

// set the decayratio on the chorus filter to total decay

//在合声滤波器设置衰变率到总延迟

@scriptrequirecomponent(audiosource)

@scriptrequirecomponent(audioechofilter)

function start() {

getcomponent(audioechofilter).decayratio = 0.0;

}

相关阅读

文章点评
相关文章