Animation display widgets by image switching. More...
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. |
Animation display widgets by image switching.
override void OnUpdate | ( | float | elapsedTime | ) | [protected, virtual] |
Update processing.
elapsedTime | Elapsed time from previous update (ms) |
Reimplemented from Widget.
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.