AddMeshFace()

Syntax

AddMeshFace(Vertex1, Vertex2, Vertex3)
Description
Add a new face to the current mesh previously created with CreateMesh(). The specified vertices must exists. The first vertex index starts to 0. The created face is a triangle.

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

This function has no return value.

See Also

CreateMesh(), AddMeshVertex()

Supported OS

All

Mesh Index - AddMeshVertex() ->