Difference between revisions of "TextureRegion:getScale"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2018.6.3<br/>
'''<translate>Available since</translate>:''' Gideros 2018.6.3<br/>
+
'''Class:''' [[TextureRegion]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextureRegion|TextureRegion]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Returns the scale factor of the underlying atlas.
Returns the scale factor of the underlying atlas
+
<syntaxhighlight lang="lua">
<br /></translate>
 
<source lang="lua">
 
 
(number) = TextureRegion:getScale()
 
(number) = TextureRegion:getScale()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>scale</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) scale<br/>
 +
 
 +
{{TextureRegion}}

Latest revision as of 14: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