Class PoseTrack

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

@Deprecated public final class PoseTrack extends Object implements Track
Deprecated.
A single track of pose animation associated with a certain mesh.
  • Constructor Details

    • PoseTrack

      public PoseTrack(int targetMeshIndex, float[] times, PoseTrack.PoseFrame[] frames)
      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.
      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 affect
      channel - The channel which the track should affect
      vars - temporary storage
    • getLength

      public float getLength()
      Deprecated.
      Specified by:
      getLength in interface Track
      Returns:
      the length of the track
    • 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 and length. Modifying the provided array is not allowed, as it may corrupt internal state.
      Specified by:
      getKeyFrameTimes in interface Track
      Returns:
      the keyframe times
    • clone

      public PoseTrack clone()
      Deprecated.
      This method creates a clone of the current object.
      Specified by:
      clone in interface Track
      Overrides:
      clone in class Object
      Returns:
      a clone of the current object
    • write

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

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