com.jme3.anim.AnimTrack Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jme3-core Show documentation
Show all versions of jme3-core Show documentation
jMonkeyEngine is a 3-D game engine for adventurous Java developers
package com.jme3.anim;
import com.jme3.export.Savable;
import com.jme3.util.clone.JmeCloneable;
/**
* Interface to derive animation data from a track.
*
* @param the type of data that's being animated, such as Transform
*/
public interface AnimTrack extends Savable, JmeCloneable {
/**
* Determine the track value for the specified time.
*
* @param time the track time (in seconds)
* @param store storage for the value (not null, modified)
*/
public void getDataAtTime(double time, T store);
/**
* Determine the duration of the track.
*
* @return the duration (in seconds, ≥0)
*/
public double getLength();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy