Cross-fade transition. More...
Public Member Functions | |
CrossFadeTransition () | |
Constructor. | |
CrossFadeTransition (float time, CrossFadeTransitionInterpolator 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. | |
CrossFadeTransitionInterpolator | Interpolator [get, set] |
Obtains and sets the type of interpolation function. | |
AnimationInterpolator | CustomNextSceneInterpolator [get, set] |
Sets a NextScene custom interpolation function. | |
AnimationInterpolator | CustomCurrentSceneInterpolator [get, set] |
Sets a CurrentScene custom interpolation function. | |
bool | NextSceneFront [get, set] |
Obtains and sets whether to display NextScene at the front. |
Cross-fade transition.
On the old scene, a new scene changes from transparent to opaque.
CrossFadeTransition | ( | float | time, |
CrossFadeTransitionInterpolator | interpolator | ||
) |
Constructor.
time | Duration (ms) |
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)