|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Light object stores the lighting information used for rendering. The intensity and color of this light represented by a Light object may by specified, but by default it is white light.
| Method Summary | |
RGB |
getColor()
Returns the color of this Light object as an RGB object. |
RGB |
getColorAt(Vector point)
Returns the color of the light represented by this Light object at the specified point as an RGB object. |
double |
getIntensity()
Returns the intensity of this Light object as a double value. |
void |
setColor(RGB color)
Sets the color of this Light object to the color represented by the specified RGB object. |
void |
setIntensity(double intensity)
Sets the intensity of this Light object. |
| Method Detail |
public void setIntensity(double intensity)
public void setColor(RGB color)
public double getIntensity()
public RGB getColor()
public RGB getColorAt(Vector point)
|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||