Difference between revisions of "Sprite:setRotationX"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2015.04.04<br/>
+
'''Available since:''' Gideros 2015.4.4<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Sprite]]<br/>
<translate><br />
+
 
Sets the rotation of the sprite in degrees around x axis.<br /></translate>
+
=== Description ===
<source lang="lua">
+
Sets the rotation of the sprite in degrees around its X axis.
Sprite:setRotationX()
+
<syntaxhighlight lang="lua">
</source>
+
Sprite:setRotationX(xrotation)
 +
</syntaxhighlight>
 +
 
 +
=== Parameters ===
 +
'''xrotation''': (number) x rotation of the sprite<br/>
 +
 
 +
{{Sprite}}

Latest revision as of 14:33, 13 July 2023

Available since: Gideros 2015.4.4
Class: Sprite

Description

Sets the rotation of the sprite in degrees around its X axis.

Sprite:setRotationX(xrotation)

Parameters

xrotation: (number) x rotation of the sprite