Difference between revisions of "Pixel:getTextureScale"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Returns the texture scale for the Pixel</translate>
 
<translate>Returns the texture scale for the Pixel</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = Pixel:getTextureScale()
 
(number), (number) = Pixel:getTextureScale()
 
</source>
 
</source>

Revision as of 14:30, 13 July 2023


Available since: in development
Class: Pixel

Description

Returns the texture scale for the Pixel <syntaxhighlight lang="lua"> (number), (number) = Pixel:getTextureScale() </source>

Return values

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