Class cc.EaseOut

Class Summary
Constructor Attributes Constructor Name and Description
 
cc.EaseOut action with a rate.

Method Summary

Class Detail

cc.EaseOut()
cc.EaseOut action with a rate. From fast to slow.
//The old usage
cc.EaseOut.create(action, 3);
//The new usage
action.easing(cc.easeOut(3.0));
since v3.0 please use action.easing(cc.easeOut(3))

Method Detail

  • {cc.EaseOut} clone()
    to copy object with deep copy. returns a clone of action.
    Returns:
    {cc.EaseOut}
  • <static> {cc.EaseOut} cc.EaseOut.create(action, rate)
    Creates the action with the inner action and the rate parameter.
    From fast to slow.
    //The old usage
    cc.EaseOut.create(action, 3);
    //The new usage
    action.easing(cc.easeOut(3.0));
    Parameters:
    {cc.ActionInterval} action
    {Number} rate
    Deprecated:
    since v3.0
    Please use cc.easeOut instead.
    Returns:
    {cc.EaseOut}
  • {cc.EaseOut} reverse()
    Create a cc.easeIn action. Opposite with the original motion trajectory.
    Returns:
    {cc.EaseOut}
  • update(dt)
    Called once per frame. Time is the number of seconds of a frame interval.
    Parameters:
    {Number} dt