Class cc.TransitionCrossFade
- Defined in: CCTransition.js
- Extends cc.TransitionScene
Constructor Attributes | Constructor Name and Description |
---|---|
Cross fades two scenes using the cc.RenderTexture object.
|
Method Summary
Class Detail
cc.TransitionCrossFade()
Cross fades two scenes using the cc.RenderTexture object.
Method Detail
-
Cross fades two scenes using the cc.RenderTexture object.
// Example var myTransition = cc.TransitionCrossFade.create(1.5, nextScene)
- Parameters:
- {Number} t
- time in seconds
- {cc.Scene} scene
- Returns:
- {cc.TransitionCrossFade}
-
draw()overide draw
-
onEnter()custom on enter
-
onExit()custom on exit