audioclip.frequency 频率

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

摘要: audioclip.frequency 频率varfrequency: intdescription描述sample frequency (read only)返回音频剪辑的采样频率。(只读)c#javascriptusing unityengine;using system.collections;public class example :monobeh ...

audioclip.frequency 频率

varfrequency: int

description描述

sample frequency (read only)

返回音频剪辑的采样频率。(只读)

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

debug.log(audio.clip.frequency);

}

}

// prints the frequency of the attached audio in hz

//打印附加的音频的频率,以hz为单位

debug.log(audio.clip.frequency);

相关阅读

文章点评
相关文章