Package com.jme3.animation
Interface Track
- All Known Subinterfaces:
ClonableTrack
- All Known Implementing Classes:
AudioTrack
,BoneTrack
,EffectTrack
,PoseTrack
,SpatialTrack
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.This method creates a clone of the current object.float[]
Deprecated.Get the times in seconds for all keyframes.float
Deprecated.void
setTime
(float time, float weight, AnimControl control, AnimChannel channel, TempVars vars) Deprecated.Sets the time of the animation.
-
Method Details
-
setTime
Deprecated.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 affectchannel
- The channel which the track should affectvars
- temporary storage
-
getLength
float getLength()Deprecated.- Returns:
- the length of the track
-
clone
Track clone()Deprecated.This method creates a clone of the current object.- Returns:
- a clone of the current object
-
getKeyFrameTimes
float[] getKeyFrameTimes()Deprecated.Get the times in seconds for all keyframes. All keyframe times should be between 0.0 andlength
. Modifying the provided array is not allowed, as it may corrupt internal state.- Returns:
- the keyframe times
-