Difference between revisions of "Pixel:getTexturePosition"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' in development<br/>
+
'''Available since:''' Gideros 2016.12<br/>
 
'''Class:''' [[Pixel]]<br/>
 
'''Class:''' [[Pixel]]<br/>
  
Line 10: Line 10:
  
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) the x-coordinate of the texture<br/>
+
'''Returns''' (number) Pixel texture x coordinate<br/>
'''Returns''' (number) the y-coordinate of the texture<br/>
+
'''Returns''' (number) Pixel texture y coordinate<br/>
  
 
{{Pixel}}
 
{{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