TextureRegion:getScale: Difference between revisions
From GiderosMobile
mNo edit summary |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns the scale factor of the underlying atlas. | Returns the scale factor of the underlying atlas. | ||
< | <syntaxhighlight lang="lua"> | ||
(number) = TextureRegion:getScale() | (number) = TextureRegion:getScale() | ||
</ | </syntaxhighlight> | ||
=== Return values === | === Return values === | ||
Latest revision as of 13:33, 13 July 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