Sprite:setRotationX: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 5: Line 5:
=== Description ===
=== Description ===
Sets the rotation of the sprite in degrees around its X axis.
Sets the rotation of the sprite in degrees around its X axis.
<source lang="lua">
<syntaxhighlight lang="lua">
Sprite:setRotationX(xrotation)
Sprite:setRotationX(xrotation)
</source>
</source>

Revision as of 13:31, 13 July 2023

Available since: Gideros 2015.4.4
Class: Sprite

Description

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

Parameters

xrotation: (number) x rotation of the sprite