Difference between revisions of "Pixel:getTextureScale"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<languages />
 
<languages />
'''<translate>Available since</translate>:''' in development<br/>
+
'''Available since:''' Gideros 2016.12<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Pixel|Pixel]]<br/>
+
'''Class:''' [[Pixel]]<br/>
=== <translate>Description</translate> ===
+
 
<translate>Returns the texture scale for the Pixel</translate>
+
=== Description ===
 +
Returns the texture scale for the Pixel.
 
<syntaxhighlight lang="lua">
 
<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}}
 
{{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