Difference between revisions of "Sprite:getScale"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Returns the horizontal, vertical and z axis scales of the sprite.<br />
 
Returns the horizontal, vertical and z axis scales of the sprite.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number), (number) = Sprite:getScale()
 
(number), (number), (number) = Sprite:getScale()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) The horizontal scale of the sprite<br/>
+
'''Returns''' (number) <translate>The horizontal scale of the sprite</translate><br/>
'''Returns''' (number) The vertical scale of the sprite<br/>
+
'''Returns''' (number) <translate>The vertical scale of the sprite</translate><br/>
'''Returns''' (number) The depth scale of the sprite<br/>
+
'''Returns''' (number) <translate>The depth scale of the sprite</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the horizontal, vertical and z axis scales of the sprite.

(number), (number), (number) = Sprite:getScale()

Return values

Returns (number) The horizontal scale of the sprite
Returns (number) The vertical scale of the sprite
Returns (number) The depth scale of the sprite