dgame ~master (2017-03-31T06:11:13Z)
Home
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
void
setRotation
pure nothrow
(
float
rotation
)
Meta
Source
See Implementation
Dgame
Graphic
Transformable
Transformable
functions
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.