org.gvsig.fmap.geom.primitive
Interface Appearance.Material

Enclosing interface:
Appearance

public static interface Appearance.Material


Nested Class Summary
static class Appearance.Material.Face
           
 
Method Summary
 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
 

Method Detail

getFace

Appearance.Material.Face getFace()
Gets the face to apply the material

Returns:
the face

setFace

void setFace(Appearance.Material.Face face)
Sets the face where the material will be applied

Parameters:
face - the face

getAmbient

Color getAmbient()
Get the ambient color of the material

Returns:
the ambien color

setAmbient

void setAmbient(Color ambient)
Set the ambient color of the material

Parameters:
ambient - the ambien color

getDiffuse

Color getDiffuse()
Get the diffuse color of the material

Returns:
the diffuse color

setDiffuse

void setDiffuse(Color diffuse)
Set the diffuse color of the material

Parameters:
diffuse - the diffuse color

getSpecular

Color getSpecular()
Get the specular color of the material

Returns:
the specular color

setSpecular

void setSpecular(Color specular)
Set the specular color of the material

Parameters:
specular - the specular color

getEmission

Color getEmission()
Get the emissive color of the material

Returns:
the emissive color

setEmission

void setEmission(Color emission)
Set the emissive color of the material

Parameters:
emission - the emissive color

getShininess

float getShininess()
Get the shininess of the material

Returns:
a float representing the shininess

setShininess

void setShininess(float shininess)
Set the shininess of the material

Parameters:
shininess - a float representing the shininess


Copyright © 2004-2012 gvSIG. All Rights Reserved.