Sprite:setRotationY: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2015.04.04<br/> === Description === <br /> Sets the rotation of the sprite in degrees around y axis.<br /> <source lang="lua"> = Sprit..."
 
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2015.04.04<br/>
'''Available since:''' Gideros 2015.4.4<br/>
'''Class:''' [[Sprite]]<br/>
 
=== Description ===
=== Description ===
<br />
Sets the rotation of the sprite in degrees around its Y axis.
Sets the rotation of the sprite in degrees around y axis.<br />
<syntaxhighlight lang="lua">
<source lang="lua">
Sprite:setRotationY(yrotation)
= Sprite:setRotationY()
</syntaxhighlight>
</source>
 
=== Parameters ===
'''yrotation''': (number) y rotation of the sprite<br/>
 
{{Sprite}}

Latest revision as of 13:33, 13 July 2023

Available since: Gideros 2015.4.4
Class: Sprite

Description

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

Sprite:setRotationY(yrotation)

Parameters

yrotation: (number) y rotation of the sprite