MeshPrimitiveType Enumeration |
[Missing <summary> documentation for "T:Godot.Mesh.PrimitiveType"]
Namespace: Godot
public enum PrimitiveType
| Member name | Value | Description | |
|---|---|---|---|
| Points | 0 | Render array as points (one vertex equals one point). | |
| Lines | 1 | Render array as lines (every two vertices a line is created). | |
| LineStrip | 2 | Render array as line strip. | |
| LineLoop | 3 | Render array as line loop (like line strip, but closed). | |
| Triangles | 4 | Render array as triangles (every three vertices a triangle is created). | |
| TriangleStrip | 5 | Render array as triangle strips. | |
| TriangleFan | 6 | Render array as triangle fans. |