Gets the current frame
number
Gets the current frame count.
number
Gets the height of the sprite.
number
Gets if the sprite is playing or not.
boolean
Gets the material name.
string
Gets the name of the sprite.
string
Gets the width of the sprite.
number
Calculates the (u,v) textuer coordinates.
void
Calculates the sprites verticies.
void
Destroys the animated sprite.
void
Loads the animated sprite.
void
Handles messages sent to the animated sprite.
void
Plays the animated sprite component.
void
Recalculates the sprites verticies fully.
void
Sets the frame number to play the animation at.
void
Sets the frame number to play the animation at one time.
void
Sets up the material from loaded assets.
void
Stops running the sprite.
void
Updates the animated sprite.
void
Updates the sprite's vertex coordinates.
void
Generated using TypeDoc
Class constructor.