Class cc.TransitionSlideInR
- Defined in: CCTransition.js
- Extends cc.TransitionSlideInL
Constructor Attributes | Constructor Name and Description |
---|---|
cc.TransitionSlideInR(t, scene)
Slide in the incoming scene from the right border.
|
Method Summary
Class Detail
cc.TransitionSlideInR(t, scene)
Slide in the incoming scene from the right border.
var trans = new cc.TransitionSlideInR(time,scene);
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
Method Detail
-
{cc.MoveBy} action()returns the action that will be performed by the incomming and outgoing scene
- Returns:
- {cc.MoveBy}
-
create Slide in the incoming scene from the right border.
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- Deprecated:
- since v3.0,please use new cc.TransitionSlideInR(t, scene) instead
- Returns:
- {cc.TransitionSlideInR}
-
ctor(t, scene)Constructor of TransitionSlideInR
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
-
initScenes()initializes the scenes