|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMaterial
ConfMaterial
public class ConfMaterial
a material whose attributes can be configured at runtime.
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 | |
---|---|
ConfMaterial(Material.Lighting lighting,
Color color)
|
|
ConfMaterial(Material.Lighting lighting,
Color color,
float ambientFactor,
float diffuseFactor)
|
Method Summary | |
---|---|
void |
setAmbientFactor(float ambientFactor)
|
void |
setColor(Color color)
|
void |
setDiffuseFactor(float diffuseFactor)
|
void |
setLighting(Material.Lighting lighting)
|
Methods inherited from class Material |
---|
ambientColor, diffuseColor, getAmbientFactor, getColor, getDiffuseFactor, getLighting, makeSmooth, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfMaterial(Material.Lighting lighting, Color color, float ambientFactor, float diffuseFactor)
public ConfMaterial(Material.Lighting lighting, Color color)
Method Detail |
---|
public void setLighting(Material.Lighting lighting)
public void setColor(Color color)
public void setAmbientFactor(float ambientFactor)
public void setDiffuseFactor(float diffuseFactor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |