Difference between revisions of "Mesh:getTextureCoordinate"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2013.06<br/>
 
'''Available since:''' Gideros 2013.06<br/>
 
=== Description ===
 
=== Description ===
Returns u and v coordinate of the i-th element from texture coordinate array
+
<translate>Returns u and v coordinate of the i-th element from texture coordinate array</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number) = Mesh:getTextureCoordinate(i)
 
(number), (number) = Mesh:getTextureCoordinate(i)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) index <br/>
+
'''i''': (number) <translate>index</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) u coordinate<br/>
+
'''Returns''' (number) <translate>u coordinate</translate><br/>
'''Returns''' (number) v cordinate<br/>
+
'''Returns''' (number) <translate>v cordinate</translate><br/>

Revision as of 13:34, 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