SoIndexedTriangleSet¶
- InventorModule¶
genre
author
package
definition
Purpose¶
The node SoIndexedTriangleSet represents a 3D shape formed by constructing triangles from vertices located at the coordinates specified by SoVertexProperty or the current inherited state. For optimal performance, using the vertexProperty field is recommended.
SoIndexedTriangleSet uses the indices in the Coord Index field to specify the triangles faces. There is no delimiter in the index array, so each three subsequent indices define a triangle.
Windows¶
Default Panel¶
Input Fields¶
vertexProperty¶
- name: vertexProperty, type: SoNode¶
The coordinates are specified in
SoVertexPropertyor the current inherited state.
Output Fields¶
self¶
- name: self, type: SoNode¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
Visible Fields¶
Coord Index¶
- name: coordIndex, type: IntegerList, default: 0¶
Sets the coordinate indices.
Each three subsequent indices define a triangle; there is no delimiter.
Material Index¶
- name: materialIndex, type: IntegerList, default: -1¶
Sets the material indices.
The treatment of the current material binding is as follows: The PER_PART and PER_FACE bindings specify a material for each face, while PER_VERTEX specifies a material for each vertex. The corresponding _INDEXED bindings function similarly but utilize the materialIndex indices (see
SoIndexedShape). The default material binding is OVERALL.
Normal Index¶
- name: normalIndex, type: IntegerList, default: -1¶
Sets the normal indices.
The treatment of the current material binding is as follows: The PER_PART and PER_FACE bindings specify a normal for each face, while PER_VERTEX specifies a normal for each vertex. The corresponding _INDEXED bindings function similarly but utilize the normalIndex indices (see
SoIndexedShape). The default normal binding is PER_VERTEX_INDEXED.
Texture Coord Index¶
- name: textureCoordIndex, type: IntegerList, default: -1¶
Sets the texture coordinate indices.
The textures are applied as described for
IndexedShapes.