public static interface Appearance.Material
Modifier and Type | Interface and Description |
---|---|
static class |
Appearance.Material.Face |
Modifier and Type | Method and Description |
---|---|
Color |
getAmbient()
Get the ambient color of the material
|
Color |
getDiffuse()
Get the diffuse color of the material
|
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
|
Color |
getSpecular()
Get the specular color of the material
|
void |
setAmbient(Color ambient)
Set the ambient color of the material
|
void |
setDiffuse(Color diffuse)
Set the diffuse color of the material
|
void |
setEmission(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(Color specular)
Set the specular color of the material
|
Appearance.Material.Face getFace()
void setFace(Appearance.Material.Face face)
face
- the faceColor getAmbient()
void setAmbient(Color ambient)
ambient
- the ambien colorColor getDiffuse()
void setDiffuse(Color diffuse)
diffuse
- the diffuse colorColor getSpecular()
void setSpecular(Color specular)
specular
- the specular colorColor getEmission()
void setEmission(Color emission)
emission
- the emissive colorfloat getShininess()
void setShininess(float shininess)
shininess
- a float representing the shininess