dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
Transformable.setScale
Dgame
Graphic
Transformable
Transformable
Sets the scaling (for both, x and y)
void
setScale
(float x, float y)
void
setScale
(Vector2f offset)
class
Transformable
final @
nogc
pure nothrow
void
setScale
(
const
Vector2f
offset
)
Meta
Source
See Implementation
Dgame
Graphic
Transformable
Transformable
functions
_notifyTransform
getMatrix
getOrigin
getPosition
getRotation
getRotationCenter
getScale
move
rotate
scale
setOrigin
setPosition
setRotation
setRotationCenter
setScale
properties
x
y
Sets the scaling (for both, x and y)