|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.metasyntactic.graphics.models.LocalShadeModel | +--org.metasyntactic.graphics.models.AmbientLightModel
Constructor Summary | |
AmbientLightModel()
Creates a new instance of AmbientLightModel |
|
AmbientLightModel(Color ambientColor)
|
Method Summary | |
Color |
computeShade(Intersection intersection,
Vector view,
Scene scene)
View points toward the eye. |
static AmbientLightModel |
fromXML(org.w3c.dom.Element element)
Setter for property ambientLight. |
Color |
getAmbientColor()
Getter for property ambientColor. |
void |
setAmbientColor(Color ambientColor)
Setter for property ambientColor. |
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AmbientLightModel()
public AmbientLightModel(Color ambientColor)
Method Detail |
public Color computeShade(Intersection intersection, Vector view, Scene scene)
ShadeModel
public Color getAmbientColor()
public void setAmbientColor(Color ambientColor)
ambientColor
- New value of property ambientColor.public static AmbientLightModel fromXML(org.w3c.dom.Element element)
public java.lang.String toXML()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |