EasingFunction

EasingFunction()

用于 TweenCollection 的缓动函数。这些函数来自TweenCollectionTween.js 查看 每个函数的Tween.js .

Members

staticconstantSuperMap3D.EasingFunction.BACK_IN : EasingFunction~Callback

退回。

staticconstantSuperMap3D.EasingFunction.BACK_IN_OUT : EasingFunction~Callback

进出再出。

staticconstantSuperMap3D.EasingFunction.BACK_OUT : EasingFunction~Callback

退出。

staticconstantSuperMap3D.EasingFunction.BOUNCE_IN : EasingFunction~Callback

弹进去。

staticconstantSuperMap3D.EasingFunction.BOUNCE_IN_OUT : EasingFunction~Callback

弹进弹出。

staticconstantSuperMap3D.EasingFunction.BOUNCE_OUT : EasingFunction~Callback

弹出来。

staticconstantSuperMap3D.EasingFunction.CIRCULAR_IN : EasingFunction~Callback

环形进。

staticconstantSuperMap3D.EasingFunction.CIRCULAR_IN_OUT : EasingFunction~Callback

环形进出。

staticconstantSuperMap3D.EasingFunction.CIRCULAR_OUT : EasingFunction~Callback

环形出。

staticconstantSuperMap3D.EasingFunction.CUBIC_IN : EasingFunction~Callback

立方进。

staticconstantSuperMap3D.EasingFunction.CUBIC_IN_OUT : EasingFunction~Callback

立方进出。

staticconstantSuperMap3D.EasingFunction.CUBIC_OUT : EasingFunction~Callback

立方出。

staticconstantSuperMap3D.EasingFunction.ELASTIC_IN : EasingFunction~Callback

弹跳进。

staticconstantSuperMap3D.EasingFunction.ELASTIC_IN_OUT : EasingFunction~Callback

弹跳进出。

staticconstantSuperMap3D.EasingFunction.ELASTIC_OUT : EasingFunction~Callback

弹跳出。

staticconstantSuperMap3D.EasingFunction.EXPONENTIAL_IN : EasingFunction~Callback

指数进。

staticconstantSuperMap3D.EasingFunction.EXPONENTIAL_IN_OUT : EasingFunction~Callback

指数进出。

staticconstantSuperMap3D.EasingFunction.EXPONENTIAL_OUT : EasingFunction~Callback

指数出。

staticconstantSuperMap3D.EasingFunction.LINEAR_NONE : EasingFunction~Callback

线性缓动。

staticconstantSuperMap3D.EasingFunction.QUADRACTIC_IN : EasingFunction~Callback

二次方进。

staticconstantSuperMap3D.EasingFunction.QUADRACTIC_IN_OUT : EasingFunction~Callback

二次方进出。

staticconstantSuperMap3D.EasingFunction.QUADRACTIC_OUT : EasingFunction~Callback

二次方出。

staticconstantSuperMap3D.EasingFunction.QUARTIC_IN : EasingFunction~Callback

四次方进。

staticconstantSuperMap3D.EasingFunction.QUARTIC_IN_OUT : EasingFunction~Callback

四次方进出。

staticconstantSuperMap3D.EasingFunction.QUARTIC_OUT : EasingFunction~Callback

四次方出。

staticconstantSuperMap3D.EasingFunction.QUINTIC_IN : EasingFunction~Callback

五次方进。

staticconstantSuperMap3D.EasingFunction.QUINTIC_IN_OUT : EasingFunction~Callback

五次方进出。

staticconstantSuperMap3D.EasingFunction.QUINTIC_OUT : EasingFunction~Callback

五次方出。

staticconstantSuperMap3D.EasingFunction.SINUSOIDAL_IN : EasingFunction~Callback

正弦进。

staticconstantSuperMap3D.EasingFunction.SINUSOIDAL_IN_OUT : EasingFunction~Callback

正弦进出。

staticconstantSuperMap3D.EasingFunction.SINUSOIDAL_OUT : EasingFunction~Callback

正弦出。

Type Definitions

Callback(time)Number

函数接口,用于实现自定义的缓和函数。
Name Type Description
time Number [0,1]范围内的时间。
Returns:
函数在给定时刻的值。
Examples:
function quadraticIn(time) {
return time * time;
}
function quadraticOut(time) {
return time * (2.0 - time);
}