Sprite

Constructors

this
this()
this
this(string sheetpath)
this
this(Texture texture)

Members

Functions

draw
void draw(RenderTarget renderTarget, Matrix transform)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

clip
Rect clip;
origin
Vector2 origin;

Defaults to the center of the sprite

texture
Texture texture;
tint
Color tint;

Meta