Values

Points

Primitive to draw consists of points.

Lines

Primitive to draw consists of lines.

LineStrip

Primitive to draw consists of a line strip from start to end.

LineLoop

Primitive to draw consists of a line loop (a line strip with a line between the last and the first vertex).

Triangles

Primitive to draw consists of triangles.

TriangleStrip

Primitive to draw consists of a triangle strip (the last 3 vertices are always combined to make a triangle).

TriangleFan

Primitive to draw consists of a triangle strip (the last 2 vertices are always combined with the first to make a triangle).

Max

Represents the size of the godot.VisualServer_PrimitiveType enum.