Difference between revisions of "Pixel:setTextureScale"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Sets the texture's scale for the Pixel</translate>
 
<translate>Sets the texture's scale for the Pixel</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Pixel:setTextureScale(sx,sy)
 
  Pixel:setTextureScale(sx,sy)
 
</source>
 
</source>

Revision as of 15:30, 13 July 2023


Available since: in development
Class: Pixel

Description

Sets the texture's scale for the Pixel <syntaxhighlight lang="lua">

Pixel:setTextureScale(sx,sy)

</source>

Parameters

sx: (number) Texture's x-scale
sy: (number) Texture's y-scale