animationcurve.movekey 改变键

2014-12-31 04:10| 发布者: 杨炎| 查看: 1508| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本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将被替换.移动它后返回关键帧的索引.

相关阅读

文章点评
相关文章