sf.Sprite.rotation – sfml Reference Manual
Packages
sfml
sf
Sprite
angle
color
globalBounds
localBounds
origin
position
rotation
scale
texture
textureRect
Sprite
copy
draw
getColor
getGlobalBounds
getInverseTransform
getLocalBounds
getOrigin
getPosition
getRotation
getScale
getTexture
getTextureRect
getTransform
move
rotate
scaling
setColor
setOrigin
setPosition
setRotation
setScale
setTexture
setTextureRect
rotation
Description:
public
float
rotation
{
get
;
set
; }
property of the orientation of the object
The rotation is always in the range [0, 360].
See also:
setRotation