Difference between revisions of "Sprite:setRotationX"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2015.04.04<br/>
+
'''Available since:''' Gideros 2015.4.4<br/>
 
'''Class:''' [[Sprite]]<br/>
 
'''Class:''' [[Sprite]]<br/>
  
 
=== 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">
 
<source lang="lua">
 
Sprite:setRotationX(xrotation)
 
Sprite:setRotationX(xrotation)

Revision as of 20:46, 7 February 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