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.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