shout3d.core
Class Material
java.lang.Object
|
+--shout3d.core.Node
|
+--shout3d.core.Material
- public class Material
- extends Node
- implements FieldObserver
A Material
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 |
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
Material
public Material()
- Constructs a default Material
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