Difference between revisions of "Mesh:setVertex"

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

Revision as of 10:19, 23 August 2018

Available since: Gideros 2012.09

Description


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

 Mesh:setVertex(i,x,y)

'i: (number) index '
'x: (number) x coordinate '
'y: (number) y coordinate '