Base class for scenes transition nodes. More...
Public Member Functions | |
| override bool | IsTransitionScene () |
| Returns true for all scene deriving from TransitionScene. | |
| TransitionScene (Scene next_scene) | |
| Constructor. | |
| override void | OnEnter () |
| This function gets called when the scene is started by the Director. | |
Public Attributes | |
| Scene | PreviousScene |
| The previous scene we are transitioning from. | |
| Scene | NextScene |
| The scene we are transitioning to. | |
| float | Duration = 0.0f |
| Transition duration in seconds. | |
| bool | KeepRendering = true |
| If true, keep updating both scenes during the transition (more expensive). | |
Properties | |
| float | FadeCompletion [get] |
| Fade completion, [0,1] range. | |
Base class for scenes transition nodes.
Those nodes make a visual transition between 2 given scenes, the current one and the next one. During the transition, both scenes are potentially updated and rendered at the same time.