FadeInEffect Class Reference

Fade-in effect. More...

Inheritance diagram for FadeInEffect:
Effect

List of all members.

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.

Detailed Description

Fade-in effect.

Changes from transparent to opaque (set alpha value).


Constructor & Destructor Documentation

FadeInEffect ( Widget  widget,
float  time,
FadeInEffectInterpolator  interpolator 
)

Constructor.

Parameters:
widgetEffect-target widget
timeDuration (ms)
interpolatorInterpolation function

Member Function Documentation

static FadeInEffect CreateAndStart ( Widget  widget,
float  time,
FadeInEffectInterpolator  interpolator 
) [static]

Creates an instance and starts the effect.

Parameters:
widgetEffect-target widget
timeDuration (ms)
interpolatorInterpolation function
Returns:
Effect instance
override EffectUpdateResponse OnUpdate ( float  elapsedTime) [protected, virtual]

Update processing.

Parameters:
elapsedTimeElapsed time from previous update (ms)
Returns:
Response of effect update

Implements Effect.


Property Documentation

float Time [get, set]

Obtains and sets the duration.

(ms)