Difference between revisions of "Pixel:getTexturePosition"

From GiderosMobile
 
(5 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>Returns the texture position for the Pixel</translate>
+
Returns the texture position for the Pixel.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = Pixel:getTexturePosition()
 
(number), (number) = Pixel:getTexturePosition()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>The x-coordinate of the texture</translate><br/>
+
=== Return values ===
'''<translate>Returns</translate>''' (number) <translate>The y-coordinate of the texture</translate><br/>
+
'''Returns''' (number) Pixel texture x coordinate<br/>
 +
'''Returns''' (number) Pixel texture y coordinate<br/>
 +
 
 +
{{Pixel}}

Latest revision as of 21:59, 7 November 2023

Available since: Gideros 2016.12
Class: Pixel

Description

Returns the texture position for the Pixel.

(number), (number) = Pixel:getTexturePosition()

Return values

Returns (number) Pixel texture x coordinate
Returns (number) Pixel texture y coordinate