shout3d.core
Class MultiMesh

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.Geometry
              |
              +--shout3d.core.Mesh
                    |
                    +--shout3d.core.MultiMesh

public class MultiMesh
extends Mesh

MultiMesh Node.

Click here for more information in the nodes reference page about this node.


Field Summary
 IntArrayField appearanceIndex
          describes appearance per polygon.
 BooleanField defaultFlatShaded
          If true, polygons not in a smoothing group will be flat shaded.
 IntArrayField edgeVisibleIndex
          describes edge visibility per polygon.
 IntArrayField smoothingIndex
          describes smoothing groups per polygon.
 NodeArrayField textureMappings
          A list of textureMappings available for use by the appearances.
 
Fields inherited from class shout3d.core.Mesh
ccw, colorIndex, colorPerVertex, coordIndex
 
Fields inherited from class shout3d.core.Geometry
color, coord
 
Constructor Summary
MultiMesh()
          Constructs a default MultiMesh
 
Method Summary
 void onFieldChange(Field theField, java.lang.Object userData)
          Subclasses must call this within their own onFieldChange() method.
 
Methods inherited from class shout3d.core.Node
cleanUp, getDEFName, getField, getFieldByIndex, getFieldName, getNumFields, getTypeName, getViewer, isOfType, setDEFName, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

smoothingIndex

public final IntArrayField smoothingIndex
describes smoothing groups per polygon.

defaultFlatShaded

public final BooleanField defaultFlatShaded
If true, polygons not in a smoothing group will be flat shaded. If false, such polygons will be smooth shaded.

appearanceIndex

public final IntArrayField appearanceIndex
describes appearance per polygon.

textureMappings

public final NodeArrayField textureMappings
A list of textureMappings available for use by the appearances.

edgeVisibleIndex

public final IntArrayField edgeVisibleIndex
describes edge visibility per polygon.
Constructor Detail

MultiMesh

public MultiMesh()
Constructs a default MultiMesh
Method Detail

onFieldChange

public void onFieldChange(Field theField,
                          java.lang.Object userData)
Subclasses must call this within their own onFieldChange() method.
Overrides:
onFieldChange in class Mesh