public class Material
extends java.lang.Object
Constructor and Description |
---|
Material() |
Modifier and Type | Method and Description |
---|---|
Color |
getAmbientColor() |
Color |
getDiffuseColor() |
float |
getShininess() |
Color |
getSpecularColor() |
boolean |
isColorMaterialEnable() |
void |
setAmbientColor(Color color) |
void |
setColorMaterialEnable(boolean status) |
void |
setDiffuseColor(Color color) |
void |
setShininess(float s) |
void |
setSpecularColor(Color color) |
public void setAmbientColor(Color color)
the
- new ambient color;.public void setDiffuseColor(Color color)
the
- new diffuse color.public void setSpecularColor(Color color)
the
- new specular color.public void setShininess(float s)
the
- new shinines.public Color getAmbientColor()
public Color getDiffuseColor()
public Color getSpecularColor()
public float getShininess()
public boolean isColorMaterialEnable()
public void setColorMaterialEnable(boolean status)
the
- new color material status.