|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.scene.Spatial
com.jme.scene.Node
com.jme.scene.SwitchNode
com.jme.scene.lod.DiscreteLodNode
DiscreteLodNode
| Field Summary |
| Fields inherited from class com.jme.scene.SwitchNode |
SN_INVALID_CHILD |
| Fields inherited from class com.jme.scene.Node |
children |
| Fields inherited from class com.jme.scene.Spatial |
currentStates, defaultStateList, forceCull, forceView, frustrumIntersects, geometricalControllers, lightCombineMode, localRotation, localScale, localTranslation, name, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
| Constructor Summary | |
DiscreteLodNode(java.lang.String name,
SwitchModel model)
|
|
| Method Summary | |
void |
draw(Renderer r)
If a valid active child is set, that child is rendered and none others. |
void |
selectLevelOfDetail(Camera camera)
|
void |
updateWorldData(float time)
updateWorldData updates all the children maintained by
this node. |
| Methods inherited from class com.jme.scene.SwitchNode |
disableAllChildren, getActiveChild, setActiveChild |
| Methods inherited from class com.jme.scene.Node |
applyRenderState, attachChild, detachAllChildren, detachChild, detachChildAt, detachChildNamed, drawBounds, findCollisions, findPick, getChild, getChild, getChildren, getQuantity, hasChild, hasCollision, putClone, setChild, setForceView, updateCollisionTree, updateWorldBound |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DiscreteLodNode(java.lang.String name,
SwitchModel model)
| Method Detail |
public void selectLevelOfDetail(Camera camera)
public void updateWorldData(float time)
NodeupdateWorldData updates all the children maintained by
this node.
updateWorldData in class Nodetime - the frame time.public void draw(Renderer r)
SwitchNode
draw in class SwitchNoder - The render system to draw the child.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||