PrimitiveType
DOC_TBA
Source:
Members
-
<static, constant> 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.
-
<static, constant> LINE_STRIP :Number
-
0x0003. Line strip primitive where each vertex (or index) after the first connects a line to the previous vertex.
-
<static, constant> LINES :Number
-
0x0001. Lines primitive where each two vertices (or indices) is a line segment. Line segments are not necessarily connected.
-
<static, constant> POINTS :Number
-
0x0000. Points primitive where each vertex (or index) is a separate point.
-
<static, constant> 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.
-
<static, constant> 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.
-
<static, constant> TRIANGLES :Number
-
0x0004. Triangles primitive where each three vertices (or indices) is a triangle. Triangles do not necessarily share edges.
Methods
-
<static> validate
-
DOC_TBA
Parameters:
Name Type Description primitiveType
PrimitiveType Returns: