VisualServerPrimitiveType Enumeration |
[Missing <summary> documentation for "T:Godot.VisualServer.PrimitiveType"]
Namespace: Godot
public enum PrimitiveType
Member name | Value | Description | |
---|---|---|---|
Points | 0 | Primitive to draw consists of points. | |
Lines | 1 | Primitive to draw consists of lines. | |
LineStrip | 2 | Primitive to draw consists of a line strip from start to end. | |
LineLoop | 3 | Primitive to draw consists of a line loop (a line strip with a line between the last and the first vertex). | |
Triangles | 4 | Primitive to draw consists of triangles. | |
TriangleStrip | 5 | Primitive to draw consists of a triangle strip (the last 3 vertices are always combined to make a triangle). | |
TriangleFan | 6 | Primitive to draw consists of a triangle strip (the last 2 vertices are always combined with the first to make a triangle). | |
Max | 7 | Represents the size of the VisualServerPrimitiveType enum. |