com.jme3.scene
クラス AssetLinkNode

java.lang.Object
  上位を拡張 com.jme3.scene.Spatial
      上位を拡張 com.jme3.scene.Node
          上位を拡張 com.jme3.scene.AssetLinkNode
すべての実装されたインタフェース:
Asset, Collidable, Savable, java.lang.Cloneable

public class AssetLinkNode
extends Node

The AssetLinkNode does not store its children when exported to file. Instead, you can add a list of AssetKeys that will be loaded and attached when the AssetLinkNode is restored.


入れ子のクラスの概要
 
クラス com.jme3.scene.Spatial から継承された入れ子のクラス/インタフェース
Spatial.CullHint
 
フィールドの概要
 
クラス com.jme3.scene.Spatial から継承されたフィールド
queueDistance
 
コンストラクタの概要
AssetLinkNode()
           
AssetLinkNode(ModelKey key)
           
AssetLinkNode(java.lang.String name, ModelKey key)
           
 
メソッドの概要
 void addLinkedChild(ModelKey key)
          Add a "linked" child.
 void attachLinkedChild(AssetManager manager, ModelKey key)
           
 void attachLinkedChild(Spatial spat, ModelKey key)
           
 void attachLinkedChildren(AssetManager manager)
          Loads the linked children AssetKeys from the AssetManager and attaches them to the Node
If they are already attached, they will be reloaded.
 void detachLinkedChild(ModelKey key)
           
 void detachLinkedChild(Spatial child, ModelKey key)
           
 void detachLinkedChildren()
           
 java.util.ArrayList<ModelKey> getAssetLoaderKeys()
           
 void read(JmeImporter e)
           
 void removeLinkedChild(ModelKey key)
           
 void write(JmeExporter e)
           
 
クラス com.jme3.scene.Node から継承されたメソッド
attachChild, attachChildAt, clone, collideWith, deepClone, depthFirstTraversal, descendantMatches, descendantMatches, descendantMatches, detachAllChildren, detachChild, detachChildAt, detachChildNamed, getChild, getChild, getChildIndex, getChildren, getQuantity, getTriangleCount, getVertexCount, hasChild, setLodLevel, setMaterial, setModelBound, swapChildren, updateGeometricState, updateLogicalState, updateModelBound
 
クラス com.jme3.scene.Spatial から継承されたメソッド
addControl, addLight, breadthFirstTraversal, center, checkCulling, clone, getControl, getControl, getCullHint, getKey, getLastFrustumIntersection, getLocalCullHint, getLocalLightList, getLocalQueueBucket, getLocalRotation, getLocalScale, getLocalShadowMode, getLocalToWorldMatrix, getLocalTransform, getLocalTranslation, getName, getNumControls, getParent, getQueueBucket, getShadowMode, getUserData, getUserDataKeys, getWorldBound, getWorldLightList, getWorldRotation, getWorldScale, getWorldTransform, getWorldTranslation, hasAncestor, localToWorld, lookAt, matches, move, move, removeControl, removeControl, removeFromParent, removeLight, rotate, rotate, rotateUpTo, runControlRender, scale, scale, setCullHint, setKey, setLastFrustumIntersection, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalScale, setLocalTransform, setLocalTranslation, setLocalTranslation, setName, setQueueBucket, setShadowMode, setUserData, toString, worldToLocal
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

AssetLinkNode

public AssetLinkNode()

AssetLinkNode

public AssetLinkNode(ModelKey key)

AssetLinkNode

public AssetLinkNode(java.lang.String name,
                     ModelKey key)
メソッドの詳細

addLinkedChild

public void addLinkedChild(ModelKey key)
Add a "linked" child. These are loaded from the assetManager when the AssetLinkNode is loaded from a binary file.

パラメータ:
key -

removeLinkedChild

public void removeLinkedChild(ModelKey key)

getAssetLoaderKeys

public java.util.ArrayList<ModelKey> getAssetLoaderKeys()

attachLinkedChild

public void attachLinkedChild(AssetManager manager,
                              ModelKey key)

attachLinkedChild

public void attachLinkedChild(Spatial spat,
                              ModelKey key)

detachLinkedChild

public void detachLinkedChild(ModelKey key)

detachLinkedChild

public void detachLinkedChild(Spatial child,
                              ModelKey key)

attachLinkedChildren

public void attachLinkedChildren(AssetManager manager)
Loads the linked children AssetKeys from the AssetManager and attaches them to the Node
If they are already attached, they will be reloaded.

パラメータ:
manager -

detachLinkedChildren

public void detachLinkedChildren()

read

public void read(JmeImporter e)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
オーバーライド:
クラス Node 内の read
例外:
java.io.IOException

write

public void write(JmeExporter e)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
オーバーライド:
クラス Node 内の write
例外:
java.io.IOException