dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
Sprite.setColor
Dgame
Graphic
Sprite
Sprite
Set a Color for the Sprite which is painted over the displayed Texture.
class
Sprite
final @
nogc
pure nothrow
void
setColor
(
const
Color4b
col
)
Meta
Source
See Implementation
Dgame
Graphic
Sprite
Sprite
constructors
this
functions
_adjustTextureRect
_updateVertices
draw
getClipRect
getTexture
getTextureRect
setColor
setTexture
setTextureRect
variables
_texRect
_texture
_vertices
Set a Color for the Sprite which is painted over the displayed Texture.