ModelDrawMode

Edit

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

ValueDescription
points Each vertex is draw as a single point.
lines Every pair of vertices is drawn as a line.
linestrip Draws a single line through all of the vertices.
lineloop Draws a single line through all of the vertices, then connects back to the first vertex.
strip Vertices are rendered as triangles. After the first 3 vertices, each subsequent vertex connects to the previous two.
triangles Every 3 vertices forms a triangle.
fan Vertices are rendered as triangles. After the first 3 vertices, each subsequent vertex is connected to the previous vertex and the first vertex.

See also