|
||||||||||
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
public class DiscreteLodNode
DiscreteLodNode
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jme.scene.Spatial |
---|
Spatial.CullHint, Spatial.LightCombineMode, Spatial.NormalsMode, Spatial.TextureCombineMode |
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 |
---|
cullHint, frustrumIntersects, geometricalControllers, isCollidable, lightCombineMode, localRotation, localScale, localTranslation, LOCKED_BOUNDS, LOCKED_BRANCH, LOCKED_MESH_DATA, LOCKED_NONE, LOCKED_SHADOWS, LOCKED_TRANSFORMS, lockedMode, name, normalsMode, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder |
Constructor Summary | |
---|---|
DiscreteLodNode()
|
|
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. |
SwitchModel |
getSwitchModel()
Gets the switch model associated with this node. |
void |
read(JMEImporter e)
|
void |
selectLevelOfDetail(Camera camera)
|
void |
write(JMEExporter e)
|
Methods inherited from class com.jme.scene.SwitchNode |
---|
attachChild, attachChildAt, disableAllChildren, findCollisions, findPick, getActiveChild, hasCollision, setActiveChild |
Methods inherited from class com.jme.scene.Node |
---|
applyRenderState, childChange, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, lockBounds, lockMeshes, lockShadows, lockTransforms, setModelBound, sortLights, swapChildren, unlockBounds, unlockMeshes, unlockShadows, unlockTransforms, updateModelBound, updateWorldBound, updateWorldData, updateWorldVectors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.jme.util.export.Savable |
---|
getClassTag |
Constructor Detail |
---|
public DiscreteLodNode()
public DiscreteLodNode(java.lang.String name, SwitchModel model)
Method Detail |
---|
public SwitchModel getSwitchModel()
public void selectLevelOfDetail(Camera camera)
public void draw(Renderer r)
SwitchNode
draw
in class SwitchNode
r
- The render system to draw the child.Spatial.draw(com.jme.renderer.Renderer)
public void write(JMEExporter e) throws java.io.IOException
write
in interface Savable
write
in class SwitchNode
java.io.IOException
public void read(JMEImporter e) throws java.io.IOException
read
in interface Savable
read
in class SwitchNode
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |