Fade-out effect. More...
Public Member Functions | |
FadeOutEffect () | |
Constructor. | |
FadeOutEffect (Widget widget, float time, FadeOutEffectInterpolator interpolator) | |
Constructor. | |
Static Public Member Functions | |
static FadeOutEffect | CreateAndStart (Widget widget, float time, FadeOutEffectInterpolator interpolator) |
Creates an instance and starts the effect. | |
Protected Member Functions | |
override void | OnStart () |
Start processing. | |
override EffectUpdateResponse | OnUpdate (float elapsedTime) |
Update processing. | |
override void | OnStop () |
Stop processing. | |
Properties | |
float | Time [get, set] |
Obtains and sets the duration. | |
FadeOutEffectInterpolator | Interpolator [get, set] |
Obtains and sets the type of interpolation function. | |
AnimationInterpolator | CustomInterpolator [get, set] |
Sets a custom interpolation function. |
Fade-out effect.
Changes from opaque (set alpha value) to transparent.
FadeOutEffect | ( | Widget | widget, |
float | time, | ||
FadeOutEffectInterpolator | interpolator | ||
) |
Constructor.
widget | Effect-target widget |
time | Duration (ms) |
interpolator | Interpolation function |
static FadeOutEffect CreateAndStart | ( | Widget | widget, |
float | time, | ||
FadeOutEffectInterpolator | interpolator | ||
) | [static] |
Creates an instance and starts the effect.
widget | Effect-target widget |
time | Duration (ms) |
interpolator | Interpolation function |
override EffectUpdateResponse OnUpdate | ( | float | elapsedTime | ) | [protected, virtual] |
Update processing.
elapsedTime | Elapsed time from previous update (ms) |
Implements Effect.
float Time [get, set] |
Obtains and sets the duration.
(ms)