Effect in which the object slides laterally into view from outside the screen. More...
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. |
Effect in which the object slides laterally into view from outside the screen.
SlideInEffect | ( | Widget | widget, |
float | time, | ||
FourWayDirection | direction, | ||
SlideInEffectInterpolator | interpolator | ||
) |
Constructor.
widget | Effect-target widget |
time | Duration (ms) |
direction | Effect travel direction |
interpolator | Interpolation function |
static SlideInEffect CreateAndStart | ( | Widget | widget, |
float | time, | ||
FourWayDirection | direction, | ||
SlideInEffectInterpolator | interpolator | ||
) | [static] |
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)