provaengine ~master (2022-05-08T15:19:44.1677855)
Dub
Repo
Sprite
prova
attachables
sprites
sprite
class
Sprite : Renderable {
Texture
texture
;
Rect
clip
;
Vector2
origin
;
Color
tint
;
this
();
this
(string sheetpath);
this
(Texture texture);
void
draw
(RenderTarget renderTarget, Matrix transform);
}
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
Source
See Implementation
prova
attachables
sprites
sprite
classes
Sprite