org.osm2world.core.target.common.material
Class Material
Object
Material
- Direct Known Subclasses:
- ConfMaterial, ImmutableMaterial
public abstract class Material
- extends Object
describes the material/surface properties of an object for lighting
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
lighting
protected Material.Lighting lighting
color
protected Color color
ambientFactor
protected float ambientFactor
diffuseFactor
protected float diffuseFactor
Material
public Material(Material.Lighting lighting,
Color color,
float ambientFactor,
float diffuseFactor)
Material
public Material(Material.Lighting lighting,
Color color)
getLighting
public Material.Lighting getLighting()
getColor
public Color getColor()
getAmbientFactor
public float getAmbientFactor()
getDiffuseFactor
public float getDiffuseFactor()
ambientColor
public Color ambientColor()
diffuseColor
public Color diffuseColor()
makeSmooth
public Material makeSmooth()
toString
public String toString()
- Overrides:
toString
in class Object