|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Light
A Light implmentation provides lighting information used for rendering. The intensity and color of the Light may by specified.
| Field Summary | |
|---|---|
static boolean |
castShadows
|
| 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. |
| Field Detail |
|---|
static final boolean castShadows
| Method Detail |
|---|
void setIntensity(double intensity)
void setColor(RGB color)
double getIntensity()
RGB getColor()
RGB getColorAt(Vector point)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||