找回密码
 注册帐号

扫一扫,访问微社区

animationutility.seteditorcurve 设置编辑器曲线

2014-12-31 07:02| 发布者: 杨炎| 查看: 3404| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: animationutility.seteditorcurve 设置编辑器曲线static functionseteditorcurve(clip:animationclip,relativepath: string,type: type,propertyname: string,curve:animationcurve) : voiddescription描述unity aut ...

animationutility.seteditorcurve 设置编辑器曲线

static functionseteditorcurve(clip:animationclip,relativepath: string,type: type,propertyname: string,curve:animationcurve) : void

description描述

unity automatic combines position curves, scale curves, rotation curves internally.

unity自动混合曲线坐标,缩放,旋转

thus transform curves always get combined and their keyframes is always the union of all keyframe points. in the editor animationclip's let you specify special editor curves which do not get combined, thus it lets the user edit curves in a more intuitive way.

因此transform曲线总是获取混合的并且它们的关键帧总是所有关键帧点的联合。在编辑器中动画剪辑指定特殊的编辑器曲线

相关阅读

文章点评
相关文章