Difference between revisions of "Sprite:setRotationX"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2015.04.04<br/>
'''<translate>Available since</translate>:''' Gideros 2015.04.04<br/>
+
'''Class:''' [[Sprite]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Sets the rotation of the sprite in degrees around its x axis.
Sets the rotation of the sprite in degrees around x axis.<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
Sprite:setRotationX()
+
Sprite:setRotationX(xrotation)
 
</source>
 
</source>
 +
 +
=== Parameters ===
 +
'''xrotation''': (number) x rotation of the sprite<br/>
  
 
{{Sprite}}
 
{{Sprite}}

Revision as of 19:44, 7 February 2023

Available since: Gideros 2015.04.04
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