Difference between revisions of "Pixel:setTextureScale"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Pixel:setTextureScale(sx,sy) | Pixel:setTextureScale(sx,sy) | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''sx''': (number) <translate>Texture's x-scale</translate> <br/> | '''sx''': (number) <translate>Texture's x-scale</translate> <br/> |
Revision as of 14:31, 13 July 2023
Available since: in development
Class: Pixel
Description
Sets the texture's scale for the Pixel
Pixel:setTextureScale(sx,sy)
Parameters
sx: (number) Texture's x-scale
sy: (number) Texture's y-scale