MATERIAL
Description
Enumerations used by mesh.Begin to control what type of vertex information it should expect. Clientside only.
For more information, see the Mesh Primitives reference page.
Values
MATERIAL_POINTS | 0 | The primitive type MATERIAL_POINTS does not currently work and will not produce any visual effect if used.For more information, see Point Primitives |
MATERIAL_LINES | 1 | The primitive type MATERIAL_LINES does not currently work and will not produce any visual effect if used.For more information, see Line Primitives |
MATERIAL_TRIANGLES | 2 | Creates triangles from groupings of 3 vertices.
TThe For more information, see Triangle Primitives |
MATERIAL_TRIANGLE_STRIP | 3 | Creates a set of triangles that each share two vertices with the previous triangle in the sequence.
The For more information, see Triangle Strip Primitives |
MATERIAL_LINE_STRIP | 4 | The primitive type MATERIAL_LINE_STRIP does not currently work and will not produce any visual effect if used.For more information, see Line Strip Primitives |
MATERIAL_LINE_LOOP | 5 | The primitive type MATERIAL_LINE_LOOP does not currently work and will not produce any visual effect if used.For more information, see Line Loop Primitives |
MATERIAL_POLYGON | 6 | Creates a set of triangles that all share a single vertex and each share a vertex with the previous triangle.
The For more information, see Polygon Primitives |
MATERIAL_QUADS | 7 | Creates pairs of triangles that share two vertices.
The For more information, see Quad Primitives |