Class cc.TransitionZoomFlipX
- Defined in: CCTransition.js
- Extends cc.TransitionSceneOriented
Constructor Attributes | Constructor Name and Description |
---|---|
cc.TransitionZoomFlipX(t, scene, o)
Flips the screen horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene. |
Method Summary
Class Detail
cc.TransitionZoomFlipX(t, scene, o)
Flips the screen horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene.
The front face is the outgoing scene and the back face is the incoming scene.
var trans = new cc.TransitionZoomFlipX(time,scene,o);
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- {cc.TRANSITION_ORIENTATION_LEFT_OVER|cc.TRANSITION_ORIENTATION_RIGHT_OVER|cc.TRANSITION_ORIENTATION_UP_OVER|cc.TRANSITION_ORIENTATION_DOWN_OVER} o
Method Detail
-
Flips the screen horizontally doing a zoom out/in
The front face is the outgoing scene and the back face is the incoming scene.- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- {cc.TRANSITION_ORIENTATION_LEFT_OVER|cc.TRANSITION_ORIENTATION_RIGHT_OVER|cc.TRANSITION_ORIENTATION_UP_OVER|cc.TRANSITION_ORIENTATION_DOWN_OVER} o
- Deprecated:
- since v3.0,please use new new cc.TransitionZoomFlipX(t, scene, o) instead
- Returns:
- {cc.TransitionZoomFlipX}
-
ctor(t, scene, o)Constructor of TransitionZoomFlipX
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- {cc.TRANSITION_ORIENTATION_LEFT_OVER|cc.TRANSITION_ORIENTATION_RIGHT_OVER|cc.TRANSITION_ORIENTATION_UP_OVER|cc.TRANSITION_ORIENTATION_DOWN_OVER} o
-
onEnter()custom on enter