Difference between revisions of "Mesh:getTextureCoordinate"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2013.06<br/> === Description === Returns u and v coordinate of the i-th element from texture coordinate array <source lang="lua"> (num...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(10 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>
'''i:''' (number) index ''''''<br/>
+
 
 +
=== Parameters ===
 +
'''i''': (number) index<br/>
 +
 
 +
=== 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