Difference between revisions of "Mesh:getIndex"

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

Revision as of 13:33, 23 August 2018

Available since: Gideros 2013.06

Description

Returns the i-th element from index array

(number) = Mesh:getIndex(i)

Parameters

i: (number) index

Return values

Returns (number) index of element