Difference between revisions of "Sprite:setRotationY"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Sets the rotation of the sprite in degrees around its Y axis.
 
Sets the rotation of the sprite in degrees around its Y axis.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Sprite:setRotationY(yrotation)
 
Sprite:setRotationY(yrotation)
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023

Available since: Gideros 2015.4.4
Class: Sprite

Description

Sets the rotation of the sprite in degrees around its Y axis. <syntaxhighlight lang="lua"> Sprite:setRotationY(yrotation) </source>

Parameters

yrotation: (number) y rotation of the sprite