找回密码
 注册帐号

扫一扫,访问微社区

audiochorusfilter.rate 比率

2015-1-2 23:37| 发布者: 杨炎| 查看: 1607| 评论: 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;

}

相关阅读

文章点评
相关文章