Package com.jme3.scene.plugins.fbx.anim
Class FbxAnimCurve
java.lang.Object
com.jme3.scene.plugins.fbx.obj.FbxObject
com.jme3.scene.plugins.fbx.anim.FbxAnimCurve
- 
Field SummaryFields inherited from class com.jme3.scene.plugins.fbx.obj.FbxObjectassetManager, className, id, jmeObject, name, sceneFolderName, subclassName
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidconnectObject(FbxObject object) voidconnectObjectProperty(FbxObject object, String property) voidfromElement(FbxElement element) long[]Get the times for the keyframes.floatgetValueAtTime(long time) Retrieve the curve value at the given time.protected ObjectMethods inherited from class com.jme3.scene.plugins.fbx.obj.FbxObjectgetClassName, getFullClassName, getId, getJmeObject, getName, getSubclassName, isJmeObjectCreated, toString, unsupportedConnectObject, unsupportedConnectObjectProperty
- 
Constructor Details- 
FbxAnimCurve
 
- 
- 
Method Details- 
fromElement- Overrides:
- fromElementin class- FbxObject
 
- 
getKeyTimespublic long[] getKeyTimes()Get the times for the keyframes.- Returns:
- Keyframe times.
 
- 
getValueAtTimepublic float getValueAtTime(long time) Retrieve the curve value at the given time. If the curve has no data, 0 is returned. If the time is outside the curve, then the closest value is returned. If the time isn't on an exact keyframe, linear interpolation is used to determine the value between the keyframes at the given time.- Parameters:
- time- The time to get the curve value at (in FBX time units).
- Returns:
- The value at the given time.
 
- 
toJmeObject- Specified by:
- toJmeObjectin class- FbxObject
 
- 
connectObject- Specified by:
- connectObjectin class- FbxObject
 
- 
connectObjectProperty- Specified by:
- connectObjectPropertyin class- FbxObject
 
 
-