Fade-in effect. More...
Public Member Functions | |
FadeInEffect () | |
Constructor. | |
FadeInEffect (Widget widget, float time, FadeInEffectInterpolator interpolator) | |
Constructor. | |
Static Public Member Functions | |
static FadeInEffect | CreateAndStart (Widget widget, float time, FadeInEffectInterpolator 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. | |
FadeInEffectInterpolator | Interpolator [get, set] |
Obtains and sets the type of interpolation function. | |
AnimationInterpolator | CustomInterpolator [get, set] |
Sets a custom interpolation function. |
Fade-in effect.
Changes from transparent to opaque (set alpha value).
FadeInEffect | ( | Widget | widget, |
float | time, | ||
FadeInEffectInterpolator | interpolator | ||
) |
Constructor.
widget | Effect-target widget |
time | Duration (ms) |
interpolator | Interpolation function |
static FadeInEffect CreateAndStart | ( | Widget | widget, |
float | time, | ||
FadeInEffectInterpolator | 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)