Class cc.TransitionShrinkGrow
- Defined in: CCTransition.js
- Extends cc.TransitionScene
Constructor Attributes | Constructor Name and Description |
---|---|
cc.TransitionShrinkGrow(t, scene)
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
-
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