Difference between revisions of "Pixel:getTextureScale"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number), (number) = Pixel:getTextureScale()
 
(number), (number) = Pixel:getTextureScale()
</source>
+
</syntaxhighlight>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (number) <translate>The x-scale of the texture</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>The x-scale of the texture</translate><br/>

Revision as of 14:32, 13 July 2023


Available since: in development
Class: Pixel

Description

Returns the texture scale for the Pixel

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

Return values

Returns (number) The x-scale of the texture
Returns (number) The y-scale of the texture