Class TriangleSetObject

java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.Rendering.TriangleSetObject
All Implemented Interfaces:
X3DNode, TriangleSet, X3DComposedGeometryNode, X3DGeometryNode

public class TriangleSetObject
extends X3DConcreteNode
implements TriangleSet
TriangleSet is a geometry node containing a Coordinate|CoordinateDouble node, and can also contain Color|ColorRGBA, Normal and TextureCoordinate nodes.

X3D node tooltip: [X3DComposedGeometryNode] TriangleSet is a geometry node containing a Coordinate|CoordinateDouble node, and can also contain Color|ColorRGBA, Normal and TextureCoordinate nodes.
  • Hint: color, normal and texCoord values are applied in the same order as coord values.
  • Hint: insert a Shape node before adding geometry or Appearance.
  • Hint: for advanced extensibility, authors can substitute a type-matched ProtoInstance node (with correct containerField value) for contained node content.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
X3D Abstract Specification: TriangleSet, X3D Tooltips: TriangleSet, X3D Scene Authoring Hints: Meshes