Class cc.TransitionFlipAngular
- Defined in: CCTransition.js
- Extends cc.TransitionSceneOriented
Constructor Attributes | Constructor Name and Description |
---|---|
cc.TransitionFlipAngular(t, scene, o)
Flips the screen half horizontally and half vertically.
|
Method Summary
Class Detail
cc.TransitionFlipAngular(t, scene, o)
Flips the screen half horizontally and half vertically.
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 = cc.TransitionFlipAngular(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 half horizontally and half vertically.
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.TransitionFlipAngular(t, scene, o) instead
- Returns:
- {cc.TransitionFlipAngular}
-
ctor(t, scene, o)Constructor of TransitionFlipAngular
- 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