main.cesium.PrimitiveType.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* The type of a geometric primitive, i.e., points, lines, and triangles.
* @see Online Documentation
*/
@JsName("\$cesium__PrimitiveType")
external object /* enum */ PrimitiveType {
/**
* Points primitive where each vertex (or index) is a separate point.
*/
val POINTS: PrimitiveType
/**
* Lines primitive where each two vertices (or indices) is a line segment. Line segments are not necessarily connected.
*/
val LINES: PrimitiveType
/**
* 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.
*/
val LINE_LOOP: PrimitiveType
/**
* Line strip primitive where each vertex (or index) after the first connects a line to the previous vertex.
*/
val LINE_STRIP: PrimitiveType
/**
* Triangles primitive where each three vertices (or indices) is a triangle. Triangles do not necessarily share edges.
*/
val TRIANGLES: PrimitiveType
/**
* 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.
*/
val TRIANGLE_STRIP: PrimitiveType
/**
* 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.
*/
val TRIANGLE_FAN: PrimitiveType
}