Interface Track

All Superinterfaces:
Cloneable, Savable
All Known Subinterfaces:
ClonableTrack
All Known Implementing Classes:
AudioTrack, BoneTrack, EffectTrack, PoseTrack, SpatialTrack

@Deprecated public interface Track extends Savable, Cloneable
Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    This method creates a clone of the current object.
    float[]
    Deprecated.
    Get the times in seconds for all keyframes.
    float
    Deprecated.
     
    void
    setTime(float time, float weight, AnimControl control, AnimChannel channel, TempVars vars)
    Deprecated.
    Sets the time of the animation.

    Methods inherited from interface com.jme3.export.Savable

    read, write
  • Method Details

    • setTime

      void setTime(float time, float weight, AnimControl control, AnimChannel channel, TempVars vars)
      Deprecated.
      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.
      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

      float getLength()
      Deprecated.
      Returns:
      the length of the track
    • clone

      Track clone()
      Deprecated.
      This method creates a clone of the current object.
      Returns:
      a clone of the current object
    • getKeyFrameTimes

      float[] getKeyFrameTimes()
      Deprecated.
      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.
      Returns:
      the keyframe times