|
||||||||||
| 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.SharedNode
public class SharedNode
SharedNode allows the sharing of data
| 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.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 | |
|---|---|
SharedNode()
|
|
SharedNode(Node target)
Constructor creates a new SharedNode object. |
|
SharedNode(java.lang.String name,
Node target)
Constructor creates a new SharedNode object. |
|
| Method Summary | |
|---|---|
void |
draw(Renderer r)
draw calls the onDraw method for each child maintained by
this node. |
void |
read(JMEImporter e)
|
void |
write(JMEExporter e)
|
| Methods inherited from class com.jme.scene.Node |
|---|
applyRenderState, attachChild, attachChildAt, childChange, detachAllChildren, detachChild, detachChildAt, detachChildNamed, findCollisions, findPick, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, hasCollision, 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 SharedNode()
public SharedNode(java.lang.String name,
Node target)
SharedNode object.
name - the name of this shared mesh.target - the Node to share the data.public SharedNode(Node target)
SharedNode object.
target - the Node to share the data.| Method Detail |
|---|
public void draw(Renderer r)
Nodedraw calls the onDraw method for each child maintained by
this node.
draw in class Noder - the renderer to draw to.Spatial.draw(com.jme.renderer.Renderer)
public void write(JMEExporter e)
throws java.io.IOException
write in interface Savablewrite in class Nodejava.io.IOException
public void read(JMEImporter e)
throws java.io.IOException
read in interface Savableread in class Nodejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||