MeshFace()
Syntax
MeshFace(Vertex1, Vertex2, Vertex3 [, Vertex4])Description
Add or update a face to the current mesh previously created with CreateMesh(). The specified vertices must exist. The first vertex index starts from 0. The created face is a triangle or a quad. MeshIndex() can be used if the number of vertices is more than four.
Parameters
Vertex1 The first vertex index used to create the face. Vertex2 The second vertex index used to create the face. Vertex3 The third vertex index used to create the face. Vertex4 (optional) The fourth vertex index used to create the face, which will result in a quad.
Return value
None.
See Also
CreateMesh(), MeshVertexPosition(), MeshVertex()
Supported OS
All