|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcamera3d.VcObject
camera3d.VcLight
camera3d.VcAmbientLight
Represents an ambient light.
| Field Summary |
| Fields inherited from class camera3d.VcObject |
transformationMode |
| Constructor Summary | |
VcAmbientLight()
|
|
| Method Summary | |
static int |
getInstanceCounter()
Returns the number of objects instatiated so far. |
javax.media.j3d.Light |
getJ3DLight()
Returns ambient light. |
void |
setColor(float r,
float g,
float b)
Sets the color of this light. |
void |
setEnable(boolean enabled)
Sets the state (on/off) of this light. |
void |
setJ3DLight(javax.media.j3d.Light light)
Sets the ambient light. |
| Methods inherited from class camera3d.VcLight |
getBlue, getColor, getGreen, getIcon, getRed, isEnabled, setIcon |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VcAmbientLight()
| Method Detail |
public static int getInstanceCounter()
public javax.media.j3d.Light getJ3DLight()
getJ3DLight in class VcLightpublic void setEnable(boolean enabled)
setEnable in class VcLightenabled - If true, turns light on. If false, turns light off.
public void setColor(float r,
float g,
float b)
setColor in class VcLightr - Red component of color.g - Green component of color.b - Blue component of color.public void setJ3DLight(javax.media.j3d.Light light)
setJ3DLight in class VcLight
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||