|
||||||||||
| 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.Fog
public abstract class Fog
Fog defines a common set of attributes that contorl fog, or depth cueing, in the scene.
| Field Summary |
|---|
| Fields inherited from class org.xith3d.scenegraph.Node |
|---|
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, parent, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
Fog()
Constructs a new Fog object with a default color of black. |
|
Fog(org.openmali.vecmath2.Colorf color)
Constructs a new Fog object with the specified color. |
|
| Method Summary | |
|---|---|
void |
freeOpenGLResources(CanvasPeer canvasPeer)
This method frees OpenGL resources (names) for all Nodes in the traversal of this Node(-Group). |
org.openmali.vecmath2.Colorf |
getColor()
Gets the color for this object. |
org.openmali.vecmath2.Colorf |
getColor(org.openmali.vecmath2.Colorf color)
Sets the color for this object. |
int |
getFogID()
|
BoundingLeaf |
getInfluencingBoundingLeaf()
Sets the influence bounding leaf for this object. |
org.openmali.spatial.bounds.Bounds |
getInfluencingBounds()
Gets the influence bounding region for this object. |
void |
setColor(org.openmali.vecmath2.Colorf color)
Sets the color for this object. |
void |
setInfluencingBoundingLeaf(BoundingLeaf boundingLeaf)
Sets the influence bounding leaf for this object. |
void |
setInfluencingBounds(org.openmali.spatial.bounds.Bounds region)
Sets the influence bounding region for this object. |
boolean |
traverse(DetailedTraversalCallback callback)
Traverses the scenegraph from this node on. |
| 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 Fog()
public Fog(org.openmali.vecmath2.Colorf color)
| Method Detail |
|---|
public final int getFogID()
public final void setColor(org.openmali.vecmath2.Colorf color)
public final org.openmali.vecmath2.Colorf getColor(org.openmali.vecmath2.Colorf color)
public final org.openmali.vecmath2.Colorf getColor()
public final void setInfluencingBounds(org.openmali.spatial.bounds.Bounds region)
public final org.openmali.spatial.bounds.Bounds getInfluencingBounds()
public final void setInfluencingBoundingLeaf(BoundingLeaf boundingLeaf)
public final BoundingLeaf getInfluencingBoundingLeaf()
public void freeOpenGLResources(CanvasPeer canvasPeer)
freeOpenGLResources in class Nodepublic boolean traverse(DetailedTraversalCallback callback)
traverse in class Leafcallback - the listener is notified of any traversed Node on the way
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||