PushTransition Class Reference

Transition in which the new scene pushes out the old scene. More...

Inheritance diagram for PushTransition:
Transition

List of all members.

Public Member Functions

 PushTransition ()
 Constructor.
 PushTransition (float time, FourWayDirection direction, PushTransitionInterpolator interpolator)
 Constructor.

Protected Member Functions

override void OnStart ()
 Start processing.
override TransitionUpdateResponse 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 transition travel direction.
PushTransitionInterpolator Interpolator [get, set]
 Obtains and sets the type of interpolation function.
AnimationInterpolator CustomInterpolator [get, set]
 Obtains and sets a custom interpolation function.

Detailed Description

Transition in which the new scene pushes out the old scene.


Constructor & Destructor Documentation

PushTransition ( float  time,
FourWayDirection  direction,
PushTransitionInterpolator  interpolator 
)

Constructor.

Parameters:
timeDuration (ms)
directionTransition travel direction
interpolatorInterpolation function

Member Function Documentation

override TransitionUpdateResponse OnUpdate ( float  elapsedTime) [protected, virtual]

Update processing.

Parameters:
elapsedTimeElapsed time from previous update (ms)

Implements Transition.


Property Documentation

float Time [get, set]

Obtains and sets the duration.

(ms)