|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.light.Light
com.jme.light.AmbientLight
AmbientLight defines the natural light of a scene. This is
light that affects all color values of the scene.
| Field Summary |
| Fields inherited from class com.jme.light.Light |
LT_AMBIENT, LT_DIRECTIONAL, LT_POINT, LT_SPOT |
| Constructor Summary | |
AmbientLight()
Constructor instantiates a new AmbientLight object. |
|
| Method Summary | |
int |
getType()
getType returns the type of this light (LT_AMBIENT). |
void |
setEnabled(boolean enabled)
This function is ignored/useless in AmbientLight. |
| Methods inherited from class com.jme.light.Light |
getAmbient, getConstant, getDiffuse, getLinear, getQuadratic, getSpecular, isAttenuate, isEnabled, setAmbient, setAttenuate, setConstant, setDiffuse, setLinear, setQuadratic, setSpecular |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AmbientLight()
AmbientLight object. This
sets the color values to white.
| Method Detail |
public int getType()
getType returns the type of this light (LT_AMBIENT).
getType in class LightLight.getType()public void setEnabled(boolean enabled)
setEnabled in class Lightenabled - Ignored.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||