TransitionDirectionalFade uses a translating blend mask to cross fade between 2 scenes. More...
Public Member Functions | |
TransitionDirectionalFade (Scene next_scene) | |
Constructor. | |
override void | Draw () |
The draw function. | |
Static Public Member Functions | |
static new void | Terminate () |
Dispose of static resources. | |
Public Attributes | |
float | Width = 0.75f |
width of the transition zone (normalized value, roughly 0,1) | |
Vector2 | Direction = GameEngine2D.Base.Math._10 |
moving direction | |
DTween | Tween = ( x ) => GameEngine2D.Base.Math.PowEaseOut( x, 4.0f ) |
DTween. |
TransitionDirectionalFade uses a translating blend mask to cross fade between 2 scenes.
The old gets replaced by the new one as the cross fade line moves along a direction specified by user.