CrossFadeTransition Class Reference

Cross-fade transition. More...

Inheritance diagram for CrossFadeTransition:
Transition

List of all members.

Public Member Functions

 CrossFadeTransition ()
 Constructor.
 CrossFadeTransition (float time, CrossFadeTransitionInterpolator 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.
CrossFadeTransitionInterpolator Interpolator [get, set]
 Obtains and sets the type of interpolation function.
AnimationInterpolator CustomNextSceneInterpolator [get, set]
 Sets a NextScene custom interpolation function.
AnimationInterpolator CustomCurrentSceneInterpolator [get, set]
 Sets a CurrentScene custom interpolation function.
bool NextSceneFront [get, set]
 Obtains and sets whether to display NextScene at the front.

Detailed Description

Cross-fade transition.

On the old scene, a new scene changes from transparent to opaque.


Constructor & Destructor Documentation

CrossFadeTransition ( float  time,
CrossFadeTransitionInterpolator  interpolator 
)

Constructor.

Parameters:
timeDuration (ms)
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)