wobs.scene3d.nodes
Class Shape

java.lang.Object
  extended by X3DShapeNode
      extended by wobs.scene3d.nodes.Shape

public class Shape
extends X3DShapeNode

This class contains index constants to access fields in a Shape node using the X3DNode.getField(int fieldIndex) method.

In X3D/VRML, the Shape node has two fields, appearance and geometry(not supported), which are used to create rendered objects in the world. The appearance field contains an Appearance node that specifies the visual attributes (e.g., material and texture) to be applied to the geometry. The geometry field contains a geometry node. The specified geometry node is rendered with the specified appearance nodes applied.


Field Summary
static int appearance
          The constant used to access the appearance field of a Shape node.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appearance

public static final int appearance
The constant used to access the appearance field of a Shape node.
In X3D/VRML, this field contains a Appearance node. @see Appearance

This field is of X3D/VRML-type SFNode.

See Also:
Constant Field Values