Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

IndexedTriangleSet

IndexedTriangleSet

IndexedTriangleSet is a geometry node that can contain a Color/ColorRGBA, Coordinate/CoordinateDouble, Normal and TextureCoordinate nodes.

The IndexedTriangleSet node belongs to the Rendering component and its container field is geometry. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFBool [ ] solid TRUE

Setting solid true means draw only one side of polygons (backface culling on), setting solid false means draw both sides of polygons (backface culling off).

Hint

If in doubt, use solid='false' for maximum visibility.

Warning

Default value true can completely hide geometry if viewed from wrong side!

SFBool [ ] ccw TRUE

Ccw = counterclockwise: ordering of vertex coordinates orientation.

Hint

Ccw false can reverse solid (backface culling) and normal-vector orientation.

SFBool [ ] colorPerVertex TRUE

Whether Color node color values are applied to each vertex (true) or to each polygon face (false).

See Also

X3D Scene Authoring Hints, Color

SFBool [ ] normalPerVertex TRUE

Whether Normal node vector values are applied to each vertex (true) or to each polygon face (false).

MFInt32 [ ] index [ ] [0,∞)

Index list specifies triangles by connecting Coordinate vertices.

Warning

-1 sentinel values are not allowed.

MFNode [in, out] attrib [ ] [X3DVertexAttributeNode]

Input/Output field attrib.

SFNode [in, out] fogCoord NULL [FogCoordinate]

Input/Output field fogCoord.

SFNode [in, out] color NULL [X3DColorNode]

Input/Output field color.

SFNode [in, out] texCoord NULL [X3DTextureCoordinateNode]

Input/Output field texCoord.

SFNode [in, out] normal NULL [X3DNormalNode]

Input/Output field normal.

SFNode [in, out] coord NULL [X3DCoordinateNode]

Input/Output field coord.

Description

Hints

  • Insert a Shape node before adding geometry or Appearance.
  • You can also substitute a type-matched ProtoInstance node for contained content.

Browser Compatibility

Titania X_ITE
yes yes

External Links