Difference between revisions of "TextureRegion:getScale"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.6.3<br/> === Description === <br /> Returns the scale factor of the underlying atlas <br /> <source lang="lua"> (number), = Textu...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = TextureRegion:getScale()
+
(number) = TextureRegion:getScale()
 
</source>
 
</source>
 
'''Returns''' (number) scale<br/>
 
'''Returns''' (number) scale<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2018.6.3

Description


Returns the scale factor of the underlying atlas

(number) = TextureRegion:getScale()

Returns (number) scale