PrimitiveType - Cesium Documentation

# PrimitiveType

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

Source: Core/PrimitiveType.js, line 14

### Members

#### staticconstantPrimitiveType.LINE_LOOP :Number

  0x0002. 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.
  Source: Core/PrimitiveType.js, line 38

#### staticconstantPrimitiveType.LINE_STRIP :Number

  0x0003. Line strip primitive where each vertex (or index) after the first connects a line to the previous vertex.
  Source: Core/PrimitiveType.js, line 46

#### staticconstantPrimitiveType.LINES :Number

  0x0001. Lines primitive where each two vertices (or indices) is a line segment. Line segments are not necessarily connected.
  Source: Core/PrimitiveType.js, line 29

#### staticconstantPrimitiveType.POINTS :Number

  0x0000. Points primitive where each vertex (or index) is a separate point.
  Source: Core/PrimitiveType.js, line 21

#### staticconstantPrimitiveType.TRIANGLE_FAN :Number

  0x0006. 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.
  Source: Core/PrimitiveType.js, line 73

#### staticconstantPrimitiveType.TRIANGLE_STRIP :Number

  0x0005. 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.
  Source: Core/PrimitiveType.js, line 63

#### staticconstantPrimitiveType.TRIANGLES :Number

  0x0004. Triangles primitive where each three vertices (or indices) is a triangle. Triangles do not necessarily share edges.
  Source: Core/PrimitiveType.js, line 54