Package com.jme3.scene.plugins.fbx.anim
Class FbxToJmeTrack
java.lang.Object
com.jme3.scene.plugins.fbx.anim.FbxToJmeTrack
Maps animation stacks to influenced nodes.
Will be used later to create jME3 tracks.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
float
long[]
int
hashCode()
toJmeBoneTrack
(int boneIndex, Transform inverseBindPose) Generate aBoneTrack
from the animation data, for the given boneIndex.
-
Field Details
-
animStack
-
animLayer
-
node
-
animCurves
-
-
Constructor Details
-
FbxToJmeTrack
public FbxToJmeTrack()
-
-
Method Details
-
getKeyTimes
public long[] getKeyTimes() -
toJmeBoneTrack
Generate aBoneTrack
from the animation data, for the given boneIndex.- Parameters:
boneIndex
- The bone index for which track data is generated for.inverseBindPose
- Inverse bind pose of the bone (in world space).- Returns:
- A BoneTrack containing the animation data, for the specified boneIndex.
-
toJmeSpatialTrack
-
getDuration
public float getDuration() -
hashCode
public int hashCode() -
equals
-