Difference between revisions of "Mesh:getTextureCoordinate"

From GiderosMobile
Line 6: Line 6:
 
(number), (number) = Mesh:getTextureCoordinate(i)
 
(number), (number) = Mesh:getTextureCoordinate(i)
 
</source>
 
</source>
'''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/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2013.06

Description

Returns u and v coordinate of the i-th element from texture coordinate array

(number), (number) = Mesh:getTextureCoordinate(i)

Parameters

i: (number) index

Return values

Returns (number) u coordinate
Returns (number) v cordinate