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...")
 
Line 4: Line 4:
 
Returns u and v coordinate of the i-th element from texture coordinate array
 
Returns u and v coordinate of the i-th element from texture coordinate array
 
<source lang="lua">
 
<source lang="lua">
(number) (number), = Mesh:getTextureCoordinate(i,)
+
(number), (number) = Mesh:getTextureCoordinate(i)
 
</source>
 
</source>
'''i:''' (number) index ''''''<br/>
+
'''i''': (number) index ''''''<br/>
 
'''Returns''' (number) u coordinate<br/>
 
'''Returns''' (number) u coordinate<br/>
 
'''Returns''' (number) v cordinate<br/>
 
'''Returns''' (number) v cordinate<br/>

Revision as of 10:21, 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)

'i: (number) index '
Returns (number) u coordinate
Returns (number) v cordinate