dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
Transformable.setRotation
Dgame
Graphic
Transformable
Transformable
Set the rotation angle. If not in range of 0 .. 360 it will be set to 0.
class
Transformable
final @
nogc
pure nothrow
void
setRotation
(
float
rotation
)
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
Set the rotation angle. If not in range of 0 .. 360 it will be set to 0.