Sprite:setRotationX

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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