|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.light.Light
com.jme3.light.AmbientLight
public class AmbientLight
An ambient light adds a constant color to the scene.
Ambient lights are unaffected by the surface normal, and are constant regardless of the model's location. The material's ambient color is multiplied by the ambient light color to get the final ambient color of an object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jme3.light.Light |
---|
Light.Type |
Field Summary |
---|
Fields inherited from class com.jme3.light.Light |
---|
color, enabled, lastDistance, name |
Constructor Summary | |
---|---|
AmbientLight()
|
Method Summary | |
---|---|
void |
computeLastDistance(Spatial owner)
Used internally to compute the last distance value. |
Light.Type |
getType()
Returns the light type |
Methods inherited from class com.jme3.light.Light |
---|
clone, getColor, getName, read, setColor, setName, write |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AmbientLight()
Method Detail |
---|
public void computeLastDistance(Spatial owner)
Light
computeLastDistance
in class Light
public Light.Type getType()
Light
getType
in class Light
Light.Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |