Click or drag to resize

VisualServerPrimitiveType Enumeration

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

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

Primitive to draw consists of points.

Lines1

Primitive to draw consists of lines.

LineStrip2

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

LineLoop3

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

Triangles4

Primitive to draw consists of triangles.

TriangleStrip5

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

TriangleFan6

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

Max7

Represents the size of the VisualServerPrimitiveType enum.

See Also