MeshFace()

Syntax

MeshFace(Vertex1, Vertex2, Vertex3)
Description
Add or update a face to the current mesh previously created with CreateMesh(). The specified vertices must exists. The first vertex index starts from 0. The created face is a triangle. MeshIndex() can be used if the number of vertices is not three.

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.

Return value

None.

See Also

CreateMesh(), MeshVertexPosition()

Supported OS

All

<- LoadMesh() - Mesh Index - MeshID() ->