Difference between revisions of "Pixel:getTextureScale"

From GiderosMobile
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' in development<br/>
+
<languages />
=== <translate>Description</translate> ===
+
'''Available since:''' Gideros 2016.12<br/>
<translate>Returns the texture scale for the Pixel</translate>
+
'''Class:''' [[Pixel]]<br/>
<source lang="lua">
+
 
 +
=== Description ===
 +
Returns the texture scale for the Pixel.
 +
<syntaxhighlight lang="lua">
 
(number), (number) = Pixel:getTextureScale()
 
(number), (number) = Pixel:getTextureScale()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>The x-scale of the texture</translate><br/>
+
=== Return values ===
'''<translate>Returns</translate>''' (number) <translate>The y-scale of the texture</translate><br/>
+
'''Returns''' (number) the Pixel texture x scale<br/>
 +
'''Returns''' (number) the Pixel texture y scale<br/>
 +
 
 +
{{Pixel}}

Latest revision as of 22:00, 7 November 2023


Available since: Gideros 2016.12
Class: Pixel

Description

Returns the texture scale for the Pixel.

(number), (number) = Pixel:getTextureScale()

Return values

Returns (number) the Pixel texture x scale
Returns (number) the Pixel texture y scale