com.jme3.animation
Interface Track
- All Superinterfaces:
- java.lang.Cloneable, Savable
- All Known Implementing Classes:
- BoneTrack, PoseTrack, SpatialTrack
public interface Track
- extends Savable, java.lang.Cloneable
setTime
void setTime(float time,
float weight,
AnimControl control,
AnimChannel channel,
TempVars vars)
- 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 animationweight
- The weight from 0 to 1 on how much to apply the trackcontrol
- The control which the track should effectchannel
- The channel which the track should effect
getLength
float getLength()
- Returns:
- the length of the track
clone
Track clone()
- This method creates a clone of the current object.
- Returns:
- a clone of the current object