Effect in which the object slides laterally out of view from the current position. More...
Public Member Functions | |
SlideOutEffect () | |
Constructor. | |
SlideOutEffect (Widget widget, float time, FourWayDirection direction, SlideOutEffectInterpolator interpolator) | |
Constructor. | |
Static Public Member Functions | |
static SlideOutEffect | CreateAndStart (Widget widget, float time, FourWayDirection direction, SlideOutEffectInterpolator 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. | |
SlideOutEffectInterpolator | 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 out of view from the current position.
SlideOutEffect | ( | Widget | widget, |
float | time, | ||
FourWayDirection | direction, | ||
SlideOutEffectInterpolator | interpolator | ||
) |
Constructor.
widget | Effect-target widget |
time | Duration (ms) |
direction | Effect travel direction |
interpolator | Interpolation function |
static SlideOutEffect CreateAndStart | ( | Widget | widget, |
float | time, | ||
FourWayDirection | direction, | ||
SlideOutEffectInterpolator | 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)