Difference between revisions of "Pixel:setTextureScale"

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

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