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


Method Summary
 Track clone()
          This method creates a clone of the current object.
 float getLength()
           
 void setTime(float time, float weight, AnimControl control, AnimChannel channel, TempVars vars)
          Sets the time of the animation.
 
Methods inherited from interface com.jme3.export.Savable
read, write
 

Method Detail

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 animation
weight - The weight from 0 to 1 on how much to apply the track
control - The control which the track should effect
channel - 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