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
Interface to derive animation data from a track.
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetDataAtTime(double time, T store) Determine the track value for the specified time.doubleDetermine the duration of the track.Methods inherited from interface com.jme3.util.clone.JmeCloneable
cloneFields, jmeClone
-
Method Details
-
getDataAtTime
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)
-