Class cc.EaseExponentialIn

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.Ease Exponential In.

Method Summary

Class Detail

cc.EaseExponentialIn()
cc.Ease Exponential In. Slow to Fast.
Reference easeInExpo:
http://www.zhihu.com/question/21981571/answer/19925418
//The old usage
cc.EaseExponentialIn.create(action);
//The new usage
action.easing(cc.easeExponentialIn());
since v3.0 please action.easing(cc.easeExponentialIn())

Method Detail

  • to copy object with deep copy. returns a clone of action.
    Returns:
    {cc.EaseExponentialIn}
  • <static> {cc.EaseExponentialIn} cc.EaseExponentialIn.create(action)
    Creates the action easing object with the rate parameter.
    Reference easeInExpo:
    http://www.zhihu.com/question/21981571/answer/19925418
    //The old usage
    cc.EaseExponentialIn.create(action);
    //The new usage
    action.easing(cc.easeExponentialIn());
    Parameters:
    {cc.ActionInterval} action
    Deprecated:
    since v3.0
    Please use action.easing(cc.easeExponentialIn())
    Returns:
    {cc.EaseExponentialIn}
  • {cc.EaseExponentialOut} reverse()
    Create a cc.EaseExponentialOut action. Opposite with the original motion trajectory.
    Returns:
    {cc.EaseExponentialOut}
  • update(dt)
    Called once per frame. Time is the number of seconds of a frame interval.
    Parameters:
    {Number} dt