X3D IndexedFaceSet

IndexedFaceSet • Example

A 3D shape formed by constructing polygons (faces) from a set of vertices.

Geometry3D

attrib

Field Type: MFNode
Access Type: inputOutput
Default Value: Empty Array
Value Range: X3DVertexAttributeNode
Description: A list of per-vertex attribute information for programmable shaders.

color

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DColorNode
Description: A Color or ColorRGBA node that holds a set of per-vertex colors for a surface if colorPerVertex is TRUE.

fogCoord

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: FogCoordinate
Description: a FogCoordinate node that holds a set of coordinates for fog for a shape.

normal

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DNormalNode
Description: A Normal node that holds a set of per-vertex normals for a surface.

texCoord

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DTextureCoordinateNode
Description: A texture node that holds a set of per-vertex texture coordinates for a surface.

colorPerVertex

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: Sets whether colors are applied to each vertex if color field is not null. If color field is null, grid is rendered according to the Appearance of the surrounding Shape.

creaseAngle

Field Type: SFFloat
Access Type: initializeOnly
Default Value: 0
Value Range: 0, ∞
Description: Determines how default normals are generated.

normalPerVertex

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: Sets whether normals are applied for each vertex depending the value of normal.

convex

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: States whether all polygons in the shape are convex.

coord

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DCoordinateNode
Description: A Coordinate node that holds a set of 3D coordinates to be used in the coordIndex field of vertex-based geometry nodes.

coordIndex

Field Type: MFInt32
Access Type: initializeOnly
Default Value: Empty Array
Value Range: (0, ∞) or -1
Description: A list of indices that indicate the order in which coordinates are applied to construct each polygon. An index of -1 indicates that the current face has ended and the next one begins.

colorIndex

Field Type: MFInt32
Access Type: initializeOnly
Default Value: Empty Array
Value Range: (0, ∞) or -1
Description: A list of indices that indicate the order in which Color/ColorRGBA are applied to polygons. An index of -1 indicates that the current color has ended and the next one begins.

normalIndex

Field Type: MFInt32
Access Type: initializeOnly
Default Value: Empty Array
Value Range: (0, ∞) or -1
Description: A list of indices that indicate the order in which normals are applied to polygons. An index of -1 indicates that the current set of normals has ended and the next one begins.

texCoordIndex

Field Type: MFInt32
Access Type: initializeOnly
Default Value: Empty Array
Value Range: -1, ∞
Description: A list of indices that indicate the order in which texture coordinates are mapped to geometry coordinates.

solid

Field Type: SFBool
Access Type: imitializeOnly
Default Value: TRUE
Value Range: ...
Description: Specifies whether the geometry is visible from the inside.

ccw

Field Type: SFBool
Access Type: initializeOnly
Default Value: TRUE
Value Range: ...
Description: Sets the ordering of the vertex coordinates of the geometry with respect to normal vectors used in the lighting model equations.

metadata

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.