SlideTransition Class Reference

Transition in which the object moves laterally and the scene changes. More...

Inheritance diagram for SlideTransition:
Transition

List of all members.

Public Member Functions

 SlideTransition ()
 Constructor.
 SlideTransition (float time, FourWayDirection direction, MoveTarget moveTarget, SlideTransitionInterpolator 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.
MoveTarget MoveTarget [get, set]
 Obtains and sets whether the sliding scene is CurrentScene or NextScene.
SlideTransitionInterpolator Interpolator [get, set]
 Obtains and sets the type of interpolation function.
AnimationInterpolator CustomInterpolator [get, set]
 Sets a custom interpolation function.

Detailed Description

Transition in which the object moves laterally and the scene changes.

When NextScene is specified for the MoveTarget property, NextScene becomes the foreground, CurrentScene becomes the background, and NextScene slides in in the direction specified with the MoveDirection property. When CurrentScene is specified for the MoveTarget property, CurrentScene becomes the foreground, NextScene becomes the background, and CurrentScene slides out in the direction specified with the MoveDirection property.


Constructor & Destructor Documentation

SlideTransition ( float  time,
FourWayDirection  direction,
MoveTarget  moveTarget,
SlideTransitionInterpolator  interpolator 
)

Constructor.

Parameters:
timeDuration (ms)
directionTransition travel direction
moveTargetPriority of superposition
interpolatorInterpolation function

Member Function Documentation

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

Update processing.

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

Implements Transition.


Property Documentation

float Time [get, set]

Obtains and sets the duration.

(ms)