Creates a new sprite texture that references the entire area of the provided texture.
Sets properties describing sprite animation. The animation splits the sprite area into a grid of sub-images which can be evaluated over time. In order to view the animation you must also enable playback through setAnimationPlayback().
Determines if and how should the sprite animation play.
Returns height of a single animation frame sprite texture in pixels. If the texture has no animation this is the same as getHeight().
Returns width of a single animation frame sprite texture in pixels. If the texture has no animation this is the same as getWidth().
Returns a reference handle for this resource.
Returns height of the image texture in pixels.
Determines if the resource is destroyed.
Returns the meta data of this resource.
Name of the resource. Use primarily for easier identification and not important to the engine itself.
Returns reference height of the image texture in pixels.
Returns reference width of the image in pixels.
Determines the internal texture that the image references.
Returns width of the image texture in pixels.
Texture that references a part of a larger texture by specifying an UV subset. When the sprite texture is rendererd only the portion of the texture specified by the UV subset will be rendered. This allows you to use the same texture for multiple sprites (texture atlasing). Sprite textures also allow you to specify sprite sheet animation by varying which portion of the UV is selected over time.