Transition in which the object moves laterally and the scene changes. More...
Public Member Functions | |
SlideTransition () | |
Constructor. | |
SlideTransition (float time, FourWayDirection direction, MoveTarget moveTarget, SlideTransitionInterpolator interpolator) | |
Constructor. | |
Protected Member Functions | |
override void | OnStart () |
Start processing. | |
override TransitionUpdateResponse | OnUpdate (float elapsedTime) |
Update processing. | |
override void | OnStop () |
Stop processing. | |
Properties | |
float | Time [get, set] |
Obtains and sets the duration. | |
FourWayDirection | MoveDirection [get, set] |
Obtains and sets the transition travel direction. | |
MoveTarget | MoveTarget [get, set] |
Obtains and sets whether the sliding scene is CurrentScene or NextScene. | |
SlideTransitionInterpolator | Interpolator [get, set] |
Obtains and sets the type of interpolation function. | |
AnimationInterpolator | CustomInterpolator [get, set] |
Sets a custom interpolation function. |
Transition in which the object moves laterally and the scene changes.
When NextScene is specified for the MoveTarget property, NextScene becomes the foreground, CurrentScene becomes the background, and NextScene slides in in the direction specified with the MoveDirection property. When CurrentScene is specified for the MoveTarget property, CurrentScene becomes the foreground, NextScene becomes the background, and CurrentScene slides out in the direction specified with the MoveDirection property.
SlideTransition | ( | float | time, |
FourWayDirection | direction, | ||
MoveTarget | moveTarget, | ||
SlideTransitionInterpolator | interpolator | ||
) |
Constructor.
time | Duration (ms) |
direction | Transition travel direction |
moveTarget | Priority of superposition |
interpolator | Interpolation function |
override TransitionUpdateResponse OnUpdate | ( | float | elapsedTime | ) | [protected, virtual] |
Update processing.
elapsedTime | Elapsed time from previous update (ms) |
Implements Transition.
float Time [get, set] |
Obtains and sets the duration.
(ms)