Click or drag to resize

MeshPrimitiveType Enumeration

[Missing <summary> documentation for "T:Godot.Mesh.PrimitiveType"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum PrimitiveType
Members
  Member nameValueDescription
Points0

Render array as points (one vertex equals one point).

Lines1

Render array as lines (every two vertices a line is created).

LineStrip2

Render array as line strip.

LineLoop3

Render array as line loop (like line strip, but closed).

Triangles4

Render array as triangles (every three vertices a triangle is created).

TriangleStrip5

Render array as triangle strips.

TriangleFan6

Render array as triangle fans.

See Also