找回密碼
 注冊帳號

掃一掃,訪問微社區

animationcurve.movekey 改變鍵

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

摘要: animationcurve.movekey 改變鍵functionmovekey(index: int,key: keyframe) : intdescription描述removes the keyframe at index and inserts key.移除索引處的關鍵幀并插入鍵.if a keyframe already exists at key. ...

animationcurve.movekey 改變鍵

functionmovekey(index: int,key: keyframe) : int

description描述

removes the keyframe at index and inserts key.

移除索引處的關鍵幀并插入鍵.

if a keyframe already exists at key.time the time of the old keyframe's position /key[index].time/ will be used instead. this is the desired behaviour for dragging keyframes in a curve editor. returns the index of the keyframe after moving it.

如果一個關鍵幀在key.time.老關鍵幀的position/key[index].time將被替換.移動它后返回關鍵幀的索引.

相關閱讀

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