com.jme3.animation
Class PoseTrack

java.lang.Object
  extended by com.jme3.animation.PoseTrack
All Implemented Interfaces:
Track, Savable, java.lang.Cloneable

Deprecated.

@Deprecated
public final class PoseTrack
extends java.lang.Object
implements Track

A single track of pose animation associated with a certain mesh.


Nested Class Summary
static class PoseTrack.PoseFrame
          Deprecated.  
 
Constructor Summary
PoseTrack()
          Deprecated. Serialization-only.
PoseTrack(int targetMeshIndex, float[] times, PoseTrack.PoseFrame[] frames)
          Deprecated.  
 
Method Summary
 PoseTrack clone()
          Deprecated. This method creates a clone of the current object.
 float getLength()
          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.  
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoseTrack

public PoseTrack(int targetMeshIndex,
                 float[] times,
                 PoseTrack.PoseFrame[] frames)
Deprecated. 

PoseTrack

public PoseTrack()
Deprecated. 
Serialization-only. Do not use.

Method Detail

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.

Specified by:
setTime in interface Track
Parameters:
time - The time in the animation
weight - The weight from 0 to 1 on how much to apply the track
control - The control which the track should effect
channel - The channel which the track should effect

getLength

public float getLength()
Deprecated. 
Specified by:
getLength in interface Track
Returns:
the length of the track

clone

public PoseTrack clone()
Deprecated. 
This method creates a clone of the current object.

Specified by:
clone in interface Track
Overrides:
clone in class java.lang.Object
Returns:
a clone of the current object

write

public void write(JmeExporter e)
           throws java.io.IOException
Deprecated. 
Specified by:
write in interface Savable
Throws:
java.io.IOException

read

public void read(JmeImporter i)
          throws java.io.IOException
Deprecated. 
Specified by:
read in interface Savable
Throws:
java.io.IOException