Difference between revisions of "TextureRegion:getScale"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2018.6.3<br/>
 
'''Available since:''' Gideros 2018.6.3<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Returns the scale factor of the underlying atlas
 
Returns the scale factor of the underlying atlas
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = TextureRegion:getScale()
 
(number) = TextureRegion:getScale()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) scale<br/>
+
'''Returns''' (number) <translate>scale</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2018.6.3

Description


Returns the scale factor of the underlying atlas

(number) = TextureRegion:getScale()

Return values

Returns (number) scale