Difference between revisions of "Mesh:getTextureCoordinate"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2013.06<br/>
 
'''Available since:''' Gideros 2013.06<br/>
 +
'''Class:''' [[Mesh]]<br/>
 +
 
=== Description ===
 
=== Description ===
Returns u and v coordinate of the i-th element from texture coordinate array
+
Returns the u and v coordinate of the i-th element from the texture coordinate array.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = Mesh:getTextureCoordinate(i)
 
(number), (number) = Mesh:getTextureCoordinate(i)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) index <br/>
+
'''i''': (number) index<br/>
 +
 
 
=== Return values ===
 
=== Return values ===
 
'''Returns''' (number) u coordinate<br/>
 
'''Returns''' (number) u coordinate<br/>
 
'''Returns''' (number) v cordinate<br/>
 
'''Returns''' (number) v cordinate<br/>
 +
 +
{{Mesh}}

Latest revision as of 14:31, 13 July 2023