dgt v0.3.2 (2017-09-19T17:07:41Z)
Dub
Repo
Sprite.source
dgt
sprite
Sprite
Set the source of the sprite to a dynamic animation
Texture
source
[@property setter]
Animation
source
[@property setter]
struct
Sprite
@
nogc
nothrow pure @
property
Animation
source
(
scope
Animation
anim
)
Meta
Source
See Implementation
dgt
sprite
Sprite
constructors
this
functions
update
properties
source
texture
variables
color
flipX
flipY
height
originX
originY
rotation
scaleX
scaleY
width
x
y
Set the source of the sprite to a dynamic animation