public static interface Appearance.Material
Modifier and Type | Interface and Description |
---|---|
static class |
Appearance.Material.Face |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getAmbient()
Get the ambient color of the material
|
java.awt.Color |
getDiffuse()
Get the diffuse color of the material
|
java.awt.Color |
getEmission()
Get the emissive color of the material
|
Appearance.Material.Face |
getFace()
Gets the face to apply the material
|
float |
getShininess()
Get the shininess of the material
|
java.awt.Color |
getSpecular()
Get the specular color of the material
|
void |
setAmbient(java.awt.Color ambient)
Set the ambient color of the material
|
void |
setDiffuse(java.awt.Color diffuse)
Set the diffuse color of the material
|
void |
setEmission(java.awt.Color emission)
Set the emissive color of the material
|
void |
setFace(Appearance.Material.Face face)
Sets the face where the material will be applied
|
void |
setShininess(float shininess)
Set the shininess of the material
|
void |
setSpecular(java.awt.Color specular)
Set the specular color of the material
|
Appearance.Material.Face getFace()
void setFace(Appearance.Material.Face face)
face
- the facejava.awt.Color getAmbient()
void setAmbient(java.awt.Color ambient)
ambient
- the ambien colorjava.awt.Color getDiffuse()
void setDiffuse(java.awt.Color diffuse)
diffuse
- the diffuse colorjava.awt.Color getSpecular()
void setSpecular(java.awt.Color specular)
specular
- the specular colorjava.awt.Color getEmission()
void setEmission(java.awt.Color emission)
emission
- the emissive colorfloat getShininess()
void setShininess(float shininess)
shininess
- a float representing the shininess