Mojo.Transition
Namespace Detail
This class contains public constants for the graphical transitions usually used for pushing and popping scenes. The constants allow specific transitions to be specified when scenes are pushed or popped (by specifying a transition:transition_name
property), or when using the SceneController.prepareTransition() method.
Summary
- Mojo.Transition.crossFade
- Mojo.Transition.defaultTransition
- Mojo.Transition.none
- Mojo.Transition.zoomFade
Detail
Mojo.Transition.crossFade
A quick and relatively subtle cross-fade to the new frame.
Mojo.Transition.defaultTransition
defaultTransition is the value to use to perform a default system-defined transition.
Mojo.Transition.none
No graphical transition, just an instantaneous switch to the new frame.
Mojo.Transition.zoomFade
A combination zoom and fade transition. This is the default scene transition, and the direction is reversed when run in "scene pop" mode.