public class FbxNode extends FbxObject<com.jme3.scene.Spatial>
| Modifier and Type | Field and Description |
|---|---|
protected com.jme3.math.Matrix4f |
cachedWorldBindPose |
protected java.util.List<FbxNode> |
children |
protected com.jme3.math.Transform |
jmeLocalBindPose |
protected com.jme3.math.Transform |
jmeLocalNodeTransform |
protected com.jme3.math.Transform |
jmeWorldBindPose |
protected com.jme3.math.Transform |
jmeWorldNodeTransform |
protected java.util.List<FbxMaterial> |
materials |
protected FbxNodeAttribute |
nodeAttribute |
protected FbxNode |
parent |
protected java.util.Map<java.lang.String,java.util.List<FbxAnimCurveNode>> |
propertyToAnimCurveMap |
protected com.jme3.animation.Skeleton |
skeleton
For FBX nodes that contain a skeleton (i.e.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
userData |
protected double |
visibility |
assetManager, className, id, jmeObject, name, sceneFolderName, subclassName| Constructor and Description |
|---|
FbxNode(com.jme3.asset.AssetManager assetManager,
java.lang.String sceneFolderName) |
| Modifier and Type | Method and Description |
|---|---|
com.jme3.math.Transform |
computeFbxLocalTransform() |
void |
connectObject(FbxObject object) |
void |
connectObjectProperty(FbxObject object,
java.lang.String property) |
static com.jme3.scene.Spatial |
createScene(FbxNode fbxNode) |
static void |
createSkeletons(FbxNode fbxNode)
Create jME3 Skeleton objects on the scene.
|
void |
fromElement(FbxElement element) |
java.util.List<FbxNode> |
getChildren() |
com.jme3.animation.Skeleton |
getJmeSkeleton() |
FbxNode |
getPreferredParent()
If this geometry node is deformed by a skeleton, this
returns the node containing the skeleton.
|
void |
setWorldBindPose(com.jme3.math.Matrix4f worldBindPose) |
com.jme3.scene.Spatial |
toJmeObject() |
void |
updateWorldTransforms(com.jme3.math.Transform jmeParentNodeTransform,
com.jme3.math.Transform parentBindPose) |
getClassName, getFullClassName, getId, getJmeObject, getName, getSubclassName, isJmeObjectCreated, toString, unsupportedConnectObject, unsupportedConnectObjectPropertyprotected FbxNode parent
protected java.util.List<FbxNode> children
protected java.util.List<FbxMaterial> materials
protected java.util.Map<java.lang.String,java.lang.Object> userData
protected java.util.Map<java.lang.String,java.util.List<FbxAnimCurveNode>> propertyToAnimCurveMap
protected FbxNodeAttribute nodeAttribute
protected double visibility
protected com.jme3.animation.Skeleton skeleton
protected final com.jme3.math.Transform jmeWorldNodeTransform
protected final com.jme3.math.Transform jmeLocalNodeTransform
protected com.jme3.math.Transform jmeWorldBindPose
protected com.jme3.math.Transform jmeLocalBindPose
protected com.jme3.math.Matrix4f cachedWorldBindPose
public FbxNode(com.jme3.asset.AssetManager assetManager,
java.lang.String sceneFolderName)
public com.jme3.math.Transform computeFbxLocalTransform()
public void setWorldBindPose(com.jme3.math.Matrix4f worldBindPose)
public void updateWorldTransforms(com.jme3.math.Transform jmeParentNodeTransform,
com.jme3.math.Transform parentBindPose)
public void fromElement(FbxElement element)
fromElement in class FbxObject<com.jme3.scene.Spatial>public FbxNode getPreferredParent()
createScene(com.jme3.scene.plugins.fbx.node.FbxNode).public com.jme3.scene.Spatial toJmeObject()
toJmeObject in class FbxObject<com.jme3.scene.Spatial>public static void createSkeletons(FbxNode fbxNode)
createScene(com.jme3.scene.plugins.fbx.node.FbxNode).fbxNode - The root FBX node.public static com.jme3.scene.Spatial createScene(FbxNode fbxNode)
public com.jme3.animation.Skeleton getJmeSkeleton()
public java.util.List<FbxNode> getChildren()
public void connectObject(FbxObject object)
connectObject in class FbxObject<com.jme3.scene.Spatial>public void connectObjectProperty(FbxObject object, java.lang.String property)
connectObjectProperty in class FbxObject<com.jme3.scene.Spatial>