Class cc.TransitionRotoZoom
- Defined in: CCTransition.js
- Extends cc.TransitionScene
Constructor Attributes | Constructor Name and Description |
---|---|
cc.TransitionRotoZoom(t, scene)
Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming
|
Method Summary
Class Detail
cc.TransitionRotoZoom(t, scene)
Rotate and zoom out the outgoing scene, and then rotate and zoom in the incoming
var trans = new cc.TransitionRotoZoom(t, scene);
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
Method Detail
-
Creates a Transtion rotation and zoom
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- the scene to work with
- Deprecated:
- since v3.0,please use new cc.TransitionRotoZoom(t, scene) instead
- Returns:
- {cc.TransitionRotoZoom}
-
ctor(t, scene)Constructor of TransitionRotoZoom
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
-
onEnter()Custom On Enter callback