|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMaterial
ImmutableMaterial
public final class ImmutableMaterial
a simple material class that offers no capabilities beyond the minimum
requirements of Material
Nested Class Summary |
---|
Nested classes/interfaces inherited from class Material |
---|
Material.Lighting |
Field Summary |
---|
Fields inherited from class Material |
---|
ambientFactor, color, diffuseFactor, lighting |
Constructor Summary | |
---|---|
ImmutableMaterial(Material.Lighting lighting,
Color color)
|
|
ImmutableMaterial(Material.Lighting lighting,
Color color,
float ambientFactor,
float diffuseFactor)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
|
Methods inherited from class Material |
---|
ambientColor, diffuseColor, getAmbientFactor, getColor, getDiffuseFactor, getLighting, makeSmooth, toString |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImmutableMaterial(Material.Lighting lighting, Color color, float ambientFactor, float diffuseFactor)
public ImmutableMaterial(Material.Lighting lighting, Color color)
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |