Difference between revisions of "TextureRegion:getScale"
From GiderosMobile
m |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2018.6.3<br/> | |
− | ''' | + | '''Class:''' [[TextureRegion]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Returns the scale factor of the underlying atlas. | |
− | Returns the scale factor of the underlying atlas | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
(number) = TextureRegion:getScale() | (number) = TextureRegion:getScale() | ||
</source> | </source> | ||
− | === | + | |
− | ''' | + | === Return values === |
+ | '''Returns''' (number) scale<br/> | ||
{{TextureRegion}} | {{TextureRegion}} |
Revision as of 21:15, 10 June 2023
Available since: Gideros 2018.6.3
Class: TextureRegion
Description
Returns the scale factor of the underlying atlas.
(number) = TextureRegion:getScale()
Return values
Returns (number) scale