Class cc.EaseSineInOut

Class Summary
Constructor Attributes Constructor Name and Description
 
Ease Sine InOut.

Method Summary

Class Detail

cc.EaseSineInOut()
Ease Sine InOut.
Reference easeInOutSine:
http://www.zhihu.com/question/21981571/answer/19925418
//The old usage
cc.EaseSineInOut.create(action);
//The new usage
action.easing(cc.easeSineInOut());
since v3.0 please use action.easing(cc.easeSineInOut())

Method Detail

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