Package com.jme3.anim

Interface AnimTrack<T>

Type Parameters:
T - the type of data that's being animated, such as Transform
All Superinterfaces:
Cloneable, JmeCloneable, Savable
All Known Implementing Classes:
MorphTrack, TransformTrack

public interface AnimTrack<T> extends Savable, JmeCloneable
Interface to derive animation data from a track.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getDataAtTime(double time, T store)
    Determine the track value for the specified time.
    double
    Determine the duration of the track.

    Methods inherited from interface com.jme3.util.clone.JmeCloneable

    cloneFields, jmeClone

    Methods inherited from interface com.jme3.export.Savable

    read, write
  • Method Details

    • getDataAtTime

      void getDataAtTime(double time, T store)
      Determine the track value for the specified time.
      Parameters:
      time - the track time (in seconds)
      store - storage for the value (not null, modified)
    • getLength

      double getLength()
      Determine the duration of the track.
      Returns:
      the duration (in seconds, ≥0)