找回密碼
 注冊帳號

掃一掃,訪問微社區

audioechofilter.delay 延遲

2015-1-3 01:37| 發布者: 楊炎| 查看: 1944| 評論: 0|原作者: 蠻牛|來自: unity3d腳本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;

}

相關閱讀

文章點評
相關文章
极速时时彩开奖最快的网站