Mesh:setVertex: Difference between revisions
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..." |
No edit summary |
||
| Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
Mesh:setVertex(i,x,y) | |||
</source> | </source> | ||
'''i | '''i''': (number) index ''''''<br/> | ||
'''x | '''x''': (number) x coordinate ''''''<br/> | ||
'''y | '''y''': (number) y coordinate ''''''<br/> | ||
Revision as of 09: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 '