Pixel:setTextureScale: Difference between revisions
From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>" |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2016.12<br/> | |||
''' | '''Class:''' [[Pixel]]<br/> | ||
''' | |||
=== | === Description === | ||
Sets the texture scale inside the Pixel. | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Pixel:setTextureScale(sx,sy) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | |||
'''sx''': (number) | === Parameters === | ||
'''sy''': (number) | '''sx''': (number) Pixel texture x scale<br/> | ||
'''sy''': (number) Pixel texture y scale<br/> | |||
{{Pixel}} | {{Pixel}} | ||
Latest revision as of 20:56, 7 November 2023
Available since: Gideros 2016.12
Class: Pixel
Description
Sets the texture scale inside the Pixel.
Pixel:setTextureScale(sx,sy)
Parameters
sx: (number) Pixel texture x scale
sy: (number) Pixel texture y scale