PrimitiveType

PrimitiveType()

The type of a geometric primitive, i.e., points, lines, and triangles.

Members

staticconstantCesium.PrimitiveType.LINE_LOOP : Number

Line loop primitive where each vertex (or index) after the first connects a line to the previous vertex, and the last vertex implicitly connects to the first.

staticconstantCesium.PrimitiveType.LINE_STRIP : Number

Line strip primitive where each vertex (or index) after the first connects a line to the previous vertex.

staticconstantCesium.PrimitiveType.LINES : Number

Lines primitive where each two vertices (or indices) is a line segment. Line segments are not necessarily connected.

staticconstantCesium.PrimitiveType.POINTS : Number

Points primitive where each vertex (or index) is a separate point.

staticconstantCesium.PrimitiveType.TRIANGLE_FAN : Number

Triangle fan primitive where each vertex (or index) after the first two connect to the previous vertex and the first vertex forming a triangle. For example, this can be used to model a cone or circle.

staticconstantCesium.PrimitiveType.TRIANGLE_STRIP : Number

Triangle strip primitive where each vertex (or index) after the first two connect to the previous two vertices forming a triangle. For example, this can be used to model a wall.

staticconstantCesium.PrimitiveType.TRIANGLES : Number

Triangles primitive where each three vertices (or indices) is a triangle. Triangles do not necessarily share edges.