Difference between revisions of "Mesh:setVertexArray"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Assigns new content to the vertex array, dropping all the elements contained in the vertex arr...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= Mesh:setVertexArray(vertices,)
+
Mesh:setVertexArray(vertices)
 
</source>
 
</source>
'''vertices:''' (any)  ''''''<br/>
+
'''vertices''': (any)  ''''''<br/>

Revision as of 11:17, 23 August 2018

Available since: Gideros 2012.09

Description


Assigns new content to the vertex array, dropping all the elements contained in the vertex array before the call and replacing them by those specified by the parameters. It accepts multiple values or a Lua array.

 Mesh:setVertexArray(vertices)

'vertices: (any) '