Class cc.TransitionShrinkGrow

Class Summary
Constructor Attributes Constructor Name and Description
 
Shrink the outgoing scene while grow the incoming scene

Method Summary

Class Detail

cc.TransitionShrinkGrow(t, scene)
Shrink the outgoing scene while grow the incoming scene
var trans = new cc.TransitionShrinkGrow(time,scene);
Parameters:
{Number} t
time in seconds
{cc.Scene} scene

Method Detail

  • <static> {cc.TransitionShrinkGrow} cc.TransitionShrinkGrow.create(t, scene)
    Shrink the outgoing scene while grow the incoming scene
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
    Deprecated:
    since v3.0,please use new cc.TransitionShrinkGrow(t, scene) instead.
    Returns:
    {cc.TransitionShrinkGrow}
  • ctor(t, scene)
    Constructor of TransitionShrinkGrow
    Parameters:
    {Number} t
    time in seconds
    {cc.Scene} scene
  • {cc.EaseOut} easeActionWithAction(action)
    Parameters:
    action
    Returns:
    {cc.EaseOut}
  • onEnter()
    Custom on enter