请教一下cc.Tween 的函数说明,API和手册都没找到相关说明

cc.Tween
官方文档的API文档上参数写的是:。
cc.Tween
参数1:duration Number
参数2:props Object {scale: 2, position: cc.v3(100, 100, 100)}
参数3:opts Object
。 progress Function
。easing Function | String
参数1是时间,参数3大概知道easing 和function, 但参数2是什么?官方文档和手册都找了,没找到任何说明。。
只知道是个对象,但对象类型不知道取哪找。。
有大佬给小弟指点一下迷惑吗

今天 刚刚接触了 这个 缓动
除了要引入

export function tween(target: any): Tween;

版本 Cocos Creator v2.1.2

具体缓动的选择 可以这样选择 好多 问题下面 没有写的那么详细,我经过摸索 搞定

第一个

this.node.scale = 0.5;
this.effectTween = cc.tween(this.node).to(0.3,{scaleX:1.0,scaleY:1.0},{progress:null,easing:cc.easing.backInOut}).start();

第二种

this.node.scale = 0.5;
this.effectTween = cc.tween(this.node).to(0.3,{scaleX:1.0,scaleY:1.0},{progress:null,easing:“backInOut”}).start();

1赞

progress我原本以为是每一帖当前值的通知回调,结果看了代码发现其实是用这个函数来自己计算最新值。

progress(startValue, endValue, currentValue, time)

用法如:

话说什么时候能把论坛的代码格式化做一下。。