shout3d.core
Class Material

java.lang.Object
  |
  +--shout3d.core.Node
        |
        +--shout3d.core.Material

public class Material
extends Node
implements FieldObserver

A Material


Field Summary
 FloatArrayField diffuseColor
           
 FloatArrayField emissiveColor
           
 BooleanField modulateTextureWithDiffuse
           
 FloatField shininess
           
 FloatArrayField specularColor
           
 FloatField transparency
           
 
Constructor Summary
Material()
          Constructs a default Material
 
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

diffuseColor

public final FloatArrayField diffuseColor

emissiveColor

public final FloatArrayField emissiveColor

transparency

public final FloatField transparency

shininess

public final FloatField shininess

specularColor

public final FloatArrayField specularColor

modulateTextureWithDiffuse

public final BooleanField modulateTextureWithDiffuse
Constructor Detail

Material

public Material()
Constructs a default Material
Method Detail

onFieldChange

public void onFieldChange(Field theField,
                          java.lang.Object userData)
Subclasses must call this within their own onFieldChange() method.
Specified by:
onFieldChange in interface FieldObserver