DrawMode

The DrawMode of a mesh determines how its vertices are connected together.

ValueDescription
pointsEach vertex is draw as a single point.
linesEvery pair of vertices is drawn as a line.
linestripDraws a single line through all of the vertices.
lineloopDraws a single line through all of the vertices, then connects back to the first vertex.
stripVertices are rendered as triangles. After the first 3 vertices, each subsequent vertex connects to the previous two.
trianglesEvery 3 vertices forms a triangle.
fanVertices are rendered as triangles. After the first 3 vertices, each subsequent vertex is connected to the previous vertex and the first vertex.

See also