找回密碼
 注冊帳號

掃一掃,訪問微社區

animationclipcurvedata 動畫剪輯曲線數據

2014-12-31 03:18| 發布者: 楊炎| 查看: 2041| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: animationclipcurvedata 動畫剪輯曲線數據an animationclipcurvedata object contains all the information needed to identify a specific curve in an animationclip. the curve animates a specific property of ...

animationclipcurvedata 動畫剪輯曲線數據

an animationclipcurvedata object contains all the information needed to identify a specific curve in an animationclip. the curve animates a specific property of a component / material attached to a game object / animated bone.

一個animationclipcurvedata對象包含所有的信息需要明確一個明確的animationclip曲線。曲線動畫一個組件的特定屬性 /游戲對象的附加材質 /骨骼動畫。

note: this is an editor class. to use it you have to place your script in assets/editor inside your project folder. editor classes are in the unityeditor namespace so for c# scripts you need to add "using unityeditor;" at the beginning of the script.

注意:這是一個編輯器類,如果想使用它你需要把它放到工程目錄下的assets/editor文件夾下。編輯器類在unityeditor命名空間下。所以當使用c#腳本時,你需要在腳本前面加上 "using unityeditor"引用。

參見:animationutility,objectnames

variables變量

path

the path of the game object / bone being animated.

帶有動畫的游戲對象/骨骼的運動軌跡

type

the type of the component / material being animated.

帶有動畫的組件/材質的類型

propertyname

the name of the property being animated.

帶有動畫的屬性名稱

curve

the actual animation curve.

當前的動畫曲線

target

the component / material being animated.

帶有動畫的組件/材質

相關閱讀

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