Difference between revisions of "Pixel:getTextureScale"

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