Difference between revisions of "Pixel:setTextureScale"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Sets the texture's scale for the Pixel <source lang="lua"> = Pixel:setTextureScale(sxsy,) </source> ''...")
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' in development<br/>
+
'''Available since:''' Gideros 2016.12<br/>
 +
'''Class:''' [[Pixel]]<br/>
 +
 
 
=== Description ===
 
=== Description ===
Sets the texture's scale for the Pixel
+
Sets the texture scale inside the Pixel.
<source lang="lua">
+
<syntaxhighlight lang="lua">
= Pixel:setTextureScale(sxsy,)
+
Pixel:setTextureScale(sx,sy)
</source>
+
</syntaxhighlight>
'''sx:''' (number) Texture's x-scale ''''''<br/>
+
 
'''sy:''' (number) Texture's y-scale ''''''<br/>
+
=== Parameters ===
 +
'''sx''': (number) Pixel texture x scale<br/>
 +
'''sy''': (number) Pixel texture y scale<br/>
 +
 
 +
{{Pixel}}

Latest revision as of 22: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