|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.Leaf
org.xith3d.scenegraph.Light
org.xith3d.scenegraph.AmbientLight
public class AmbientLight
AmbientLight defines an ambient light source.
| Field Summary |
|---|
| Fields inherited from class org.xith3d.scenegraph.Light |
|---|
DEFAULT_COLOR |
| Fields inherited from class org.xith3d.scenegraph.Node |
|---|
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
AmbientLight()
Constructs a new AmbientLight object with a default color of white. |
|
AmbientLight(boolean enabled)
Constructs a new AmbientLight object with a default color of white. |
|
AmbientLight(boolean enabled,
org.openmali.vecmath2.Colorf color)
Constructs a new AmbientLight object with the specified color. |
|
AmbientLight(org.openmali.vecmath2.Colorf color)
Constructs a new AmbientLight object with the specified color. |
|
| Method Summary |
|---|
| Methods inherited from class org.xith3d.scenegraph.Light |
|---|
freeOpenGLResources, getCol, getColor, getInfluencingBoundingLeaf, getInfluencingBounds, getLightID, isEnabled, setColor, setColor, setEnabled, setInfluencingBoundingLeaf, setInfluencingBounds, setPickable, traverse |
| Methods inherited from class org.xith3d.scenegraph.Leaf |
|---|
dump, getPickHost, setPickHost |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AmbientLight(boolean enabled,
org.openmali.vecmath2.Colorf color)
enabled - if true, the light will be enabled, else it will be disabled.color - the ambient light colorpublic AmbientLight(org.openmali.vecmath2.Colorf color)
color - The ambient light colorpublic AmbientLight(boolean enabled)
enabled - public AmbientLight()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||