AnimationImageBox Class Reference

Animation display widgets by image switching. More...

Inheritance diagram for AnimationImageBox:
Widget

List of all members.

Public Member Functions

 AnimationImageBox ()
 Constructor.
void Start ()
 Starts the animation.
void Stop ()
 Stops the animation.

Protected Member Functions

override void OnUpdate (float elapsedTime)
 Update processing.
internal override void Render ()
 Renders a scene graph.

Properties

int FrameWidth [get, set]
 Obtains and sets the image width per frame.
int FrameHeight [get, set]
 Obtains and sets the image height per frame.
int FrameCount [get, set]
 Obtains and sets the total number of frames.
float FrameInterval [get, set]
 Obtains and sets the frame refresh interval.
ImageAsset Image [get, set]
 Obtains and sets the image.

Detailed Description

Animation display widgets by image switching.


Member Function Documentation

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

Update processing.

Parameters:
elapsedTimeElapsed time from previous update (ms)

Reimplemented from Widget.


Property Documentation

float FrameInterval [get, set]

Obtains and sets the frame refresh interval.

(ms)

ImageAsset Image [get, set]

Obtains and sets the image.

Sorts and specifies images in the frame order "from left to right" and "from top to bottom". When sorting in two dimensions, priority is given to the horizontal direction.