找回密碼
 注冊帳號

掃一掃,訪問微社區

audiochorusfilter.rate 比率

2015-1-2 23:37| 發布者: 楊炎| 查看: 1579| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: audiochorusfilter.rate 比率varrate: floatdescription描述chorus modulation rate in hz. 0.0 to 20.0. default = 0.8 hz.以赫茲為單位合聲調節比率,0.0 to 20.0. 默認 = 0.8 hz.c#javascriptusing unityengine;u ...

audiochorusfilter.rate 比率

varrate: float

description描述

chorus modulation rate in hz. 0.0 to 20.0. default = 0.8 hz.

以赫茲為單位合聲調節比率,0.0 to 20.0. 默認 = 0.8 hz.

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

void start() {

getcomponent().rate = 15;

}

}

// set the rate on the chorus filter to 15hz.

//設置合聲濾波器的比率為15hz

@scriptrequirecomponent(audiosource)

@scriptrequirecomponent(audiochorusfilter)

function start() {

getcomponent(audiochorusfilter).rate = 15;

}

相關閱讀

文章點評
相關文章
女校游泳队彩金