Difference between revisions of "Mesh:setIndex"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Sets a index at index array. Indices are start from 1. If the index array is not large enough,...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= Mesh:setIndex(iindex,)
+
Mesh:setIndex(i,index)
 
</source>
 
</source>
'''i:''' (number) index ''''''<br/>
+
'''i''': (number) index ''''''<br/>
'''index:''' (number) index ''''''<br/>
+
'''index''': (number) index ''''''<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2012.09

Description


Sets a index at index array. Indices are start from 1. If the index array is not large enough, it's expanded automatically.

 Mesh:setIndex(i,index)

'i: (number) index '
'index: (number) index '