Class AnimationTrack
java.lang.Object
zombie.core.skinnedmodel.animation.AnimationTrack
public class AnimationTrack
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnimationTrack.Mode -
Field Summary
Fields Modifier and Type Field Description booleanbAnimbooleanbFinishedfloatBlendCurrentTimefloatBlendDeltafloatBlendTimebooleanbLoopingAnimationClipCurrentClipfloatcurrentTimeValueAnimationTrack.Modemodestatic Keyframe[]NextPoseKeyframe[]PoseKeyframe[]PrevPosebooleanreversefloatSpeedDeltabooleanStopOnFrameOneAfterLoop -
Constructor Summary
Constructors Constructor Description AnimationTrack() -
Method Summary
Modifier and Type Method Description floatget2DFrame(IsoAnim currentAnim)Vector3fgetPosition(Vector3f out, int bone)QuaternionfgetRotation(Quaternionf out, int bone)AnimationTrackreset()voidStartClip(AnimationClip clip, boolean Loop, boolean Finished)voidsyncToFrame(IsoSpriteInstance def, IsoAnim anim)voidUpdate(AnimationPlayer player, float time, boolean relativeToCurrentTime, Matrix4f rootTransform)voidUpdateKeyframes(float time, float nonDurTime, boolean relativeToCurrentTime)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
CurrentClip
-
currentTimeValue
public float currentTimeValue -
reverse
public boolean reverse -
bLooping
public boolean bLooping -
Pose
-
NextPose
-
PrevPose
-
SpeedDelta
public float SpeedDelta -
BlendDelta
public float BlendDelta -
BlendTime
public float BlendTime -
BlendCurrentTime
public float BlendCurrentTime -
mode
-
bFinished
public boolean bFinished -
bAnim
public boolean bAnim -
StopOnFrameOneAfterLoop
public boolean StopOnFrameOneAfterLoop
-
-
Constructor Details
-
AnimationTrack
public AnimationTrack()
-
-
Method Details
-
syncToFrame
-
getRotation
-
getPosition
-
get2DFrame
-
Update
public void Update(AnimationPlayer player, float time, boolean relativeToCurrentTime, Matrix4f rootTransform) -
UpdateKeyframes
public void UpdateKeyframes(float time, float nonDurTime, boolean relativeToCurrentTime) -
StartClip
-
reset
-