nodes
Class Shape

java.lang.Object
  |
  +--nodes.Shape

public class Shape
extends java.lang.Object

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

In 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.
 
Constructor Summary
Shape()
           
 
Methods inherited from class java.lang.Object
equals, 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 VRML, this field contains a Appearance node.

This field is of VRML-type SFNode.

See Also:
Constant Field Values
Constructor Detail

Shape

public Shape()