SlideInEffect Class Reference

Effect in which the object slides laterally into view from outside the screen. More...

Inheritance diagram for SlideInEffect:
Effect

List of all members.

Public Member Functions

 SlideInEffect ()
 Constructor.
 SlideInEffect (Widget widget, float time, FourWayDirection direction, SlideInEffectInterpolator interpolator)
 Constructor.

Static Public Member Functions

static SlideInEffect CreateAndStart (Widget widget, float time, FourWayDirection direction, SlideInEffectInterpolator 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.
FourWayDirection MoveDirection [get, set]
 Obtains and sets the effect travel direction.
SlideInEffectInterpolator Interpolator [get, set]
 Obtains and sets the type of interpolation function.
AnimationInterpolator CustomInterpolator [get, set]
 Obtains and sets a custom interpolation function.

Detailed Description

Effect in which the object slides laterally into view from outside the screen.


Constructor & Destructor Documentation

SlideInEffect ( Widget  widget,
float  time,
FourWayDirection  direction,
SlideInEffectInterpolator  interpolator 
)

Constructor.

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

Member Function Documentation

static SlideInEffect CreateAndStart ( Widget  widget,
float  time,
FourWayDirection  direction,
SlideInEffectInterpolator  interpolator 
) [static]

Creates an instance and starts the effect.

Parameters:
widgetEffect-target widget
timeDuration (ms)
directionEffect travel direction
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)