SoBufferedShapeTypes Enumeration |
Type of shape that will be rendered.
Namespace: OIV.Inventor.Nodes
Member name | Value | Description | |
---|---|---|---|
POINTS | 0 | Draws each vertex as a single point. | |
LINE_STRIP | 1 | Connects all the vertices to form a polyline. Given vertices A B C D, it draws the line segments AB, BC and CD. | |
LINE_LOOP | 2 | Like LINE_STRIP, but an extra line segment is drawn connecting the last vertex to the first vertex. | |
LINES | 3 | Connects each pair of vertices with a line. Given vertices A B C D, it draws the line segments AB and CD. | |
TRIANGLE_STRIP | 4 | Draws a strip of connected triangles. Given vertices A B C D E F, it draws the triangles ABC, CBD, CDE and EDF. | |
TRIANGLE_FAN | 5 | Draws a fan of triangles. Given vertices A B C D E F, it draws the triangles ABC, ACD, ADE and AEF. | |
TRIANGLES | 6 | Draws unconnected triangles. Given vertices A B C D E F, it draws the triangles ABC and DEF. | |
QUAD_STRIP | 7 | Draws a strip of connected quadrilaterals. Given vertices A B C D E F, it draws the quadrilaterals ABDC and DCEF. | |
QUADS | 8 | Draws unconnected quadrilaterals. Given vertices A B C D E F G H, it draws the quadrilaterals ABCD and EFGH. | |
POLYGON | 9 | Draws a single polygon using all the vertices (in each primitive). |