Base class of animation to be applied to scene. More...
Public Member Functions | |
Transition () | |
Constructor. | |
Protected Member Functions | |
abstract void | OnStart () |
Start processing. | |
abstract TransitionUpdateResponse | OnUpdate (float elapsedTime) |
Update processing. | |
abstract void | OnStop () |
Stop processing. | |
ImageAsset | GetCurrentSceneRenderedImage () |
Generates ImageAsset used for offscreen rendering of CurrentScene. | |
ImageAsset | GetNextSceneRenderedImage () |
Generates ImageAsset used for offscreen rendering of NextScene. | |
Properties | |
float | TotalElapsedTime [get, set] |
Obtains the time elapsed from the start of the transition. | |
TransitionDrawOrder | DrawOrder [get, set] |
Obtains and sets the rendering order during a transition. | |
Scene | NextScene [get] |
Obtains the next scene to be displayed. | |
RootUIElement | TransitionUIElement [get] |
Obtains the root of the element tree that can only be used during a transition. | |
Events | |
EventHandler< EventArgs > | TransitionStopped |
Handler called when a transition ends. |
Base class of animation to be applied to scene.
ImageAsset GetCurrentSceneRenderedImage | ( | ) | [protected] |
Generates ImageAsset used for offscreen rendering of CurrentScene.
ImageAsset GetNextSceneRenderedImage | ( | ) | [protected] |
Generates ImageAsset used for offscreen rendering of NextScene.
abstract void OnStart | ( | ) | [protected, pure virtual] |
Start processing.
Implements the start processing with the derived class.
Implemented in CrossFadeTransition, FlipBoardTransition, JumpFlipTransition, PushTransition, SlideTransition, and TiltDropTransition.
abstract void OnStop | ( | ) | [protected, pure virtual] |
Stop processing.
Implements the stop processing with the derived class.
Implemented in CrossFadeTransition, FlipBoardTransition, JumpFlipTransition, PushTransition, SlideTransition, and TiltDropTransition.
abstract TransitionUpdateResponse OnUpdate | ( | float | elapsedTime | ) | [protected, pure virtual] |
Update processing.
elapsedTime | Elapsed time from previous update (ms) |
Implements the update processing with the derived class.
Implemented in CrossFadeTransition, FlipBoardTransition, JumpFlipTransition, PushTransition, SlideTransition, and TiltDropTransition.
float TotalElapsedTime [get, set] |
Obtains the time elapsed from the start of the transition.
(ms)