Package com.jme3.animation
Class PoseTrack
java.lang.Object
com.jme3.animation.PoseTrack
Deprecated.
A single track of pose animation associated with a certain mesh.
-
Nested Class Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Deprecated.Serialization-only.PoseTrack
(int targetMeshIndex, float[] times, PoseTrack.PoseFrame[] frames) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.This method creates a clone of the current object.float[]
Deprecated.Get the times in seconds for all keyframes.float
Deprecated.void
read
(JmeImporter i) Deprecated.void
setTime
(float time, float weight, AnimControl control, AnimChannel channel, TempVars vars) Deprecated.Sets the time of the animation.void
write
(JmeExporter e) Deprecated.
-
Constructor Details
-
PoseTrack
Deprecated. -
PoseTrack
protected PoseTrack()Deprecated.Serialization-only. Do not use.
-
-
Method Details
-
setTime
public void setTime(float time, float weight, AnimControl control, AnimChannel channel, TempVars vars) Deprecated.Description copied from interface:Track
Sets the time of the animation. Internally, the track will retrieve objects from the control and modify them according to the properties of the channel and the given parameters. -
getLength
public float getLength()Deprecated. -
getKeyFrameTimes
public float[] getKeyFrameTimes()Deprecated.Description copied from interface:Track
Get the times in seconds for all keyframes. All keyframe times should be between 0.0 andlength
. Modifying the provided array is not allowed, as it may corrupt internal state.- Specified by:
getKeyFrameTimes
in interfaceTrack
- Returns:
- the keyframe times
-
clone
Deprecated.This method creates a clone of the current object. -
write
Deprecated.- Specified by:
write
in interfaceSavable
- Throws:
IOException
-
read
Deprecated.- Specified by:
read
in interfaceSavable
- Throws:
IOException
-