找回密碼
 注冊帳號

掃一掃,訪問微社區

audioclip.frequency 頻率

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

相關閱讀

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