public class FbxNode extends FbxObject<Spatial>
Modifier and Type | Field and Description |
---|---|
protected Matrix4f |
cachedWorldBindPose |
protected java.util.List<FbxNode> |
children |
protected Transform |
jmeLocalBindPose |
protected Transform |
jmeLocalNodeTransform |
protected Transform |
jmeWorldBindPose |
protected 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 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(AssetManager assetManager,
java.lang.String sceneFolderName) |
Modifier and Type | Method and Description |
---|---|
Transform |
computeFbxLocalTransform() |
void |
connectObject(FbxObject object) |
void |
connectObjectProperty(FbxObject object,
java.lang.String property) |
static 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() |
Skeleton |
getJmeSkeleton() |
FbxNode |
getPreferredParent()
If this geometry node is deformed by a skeleton, this
returns the node containing the skeleton.
|
void |
setWorldBindPose(Matrix4f worldBindPose) |
Spatial |
toJmeObject() |
void |
updateWorldTransforms(Transform jmeParentNodeTransform,
Transform parentBindPose) |
getClassName, getFullClassName, getId, getJmeObject, getName, getSubclassName, isJmeObjectCreated, toString, unsupportedConnectObject, unsupportedConnectObjectProperty
protected 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 Skeleton skeleton
protected final Transform jmeWorldNodeTransform
protected final Transform jmeLocalNodeTransform
protected Transform jmeWorldBindPose
protected Transform jmeLocalBindPose
protected Matrix4f cachedWorldBindPose
public FbxNode(AssetManager assetManager, java.lang.String sceneFolderName)
public Transform computeFbxLocalTransform()
public void setWorldBindPose(Matrix4f worldBindPose)
public void updateWorldTransforms(Transform jmeParentNodeTransform, Transform parentBindPose)
public void fromElement(FbxElement element)
fromElement
in class FbxObject<Spatial>
public FbxNode getPreferredParent()
createScene(com.jme3.scene.plugins.fbx.node.FbxNode)
.public Spatial toJmeObject()
toJmeObject
in class FbxObject<Spatial>
public static void createSkeletons(FbxNode fbxNode)
createScene(com.jme3.scene.plugins.fbx.node.FbxNode)
.fbxNode
- The root FBX node.public Skeleton getJmeSkeleton()
public java.util.List<FbxNode> getChildren()
public void connectObject(FbxObject object)
connectObject
in class FbxObject<Spatial>
public void connectObjectProperty(FbxObject object, java.lang.String property)
connectObjectProperty
in class FbxObject<Spatial>