TextureRegion:getScale

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2018.6.3
Class: TextureRegion

Description

Returns the scale factor of the underlying atlas. <syntaxhighlight lang="lua"> (number) = TextureRegion:getScale() </source>

Return values

Returns (number) scale