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 class
AnimationTrack.Mode
-
Field Summary
Fields Modifier and Type Field Description boolean
bAnim
boolean
bFinished
float
BlendCurrentTime
float
BlendDelta
float
BlendTime
boolean
bLooping
AnimationClip
CurrentClip
float
currentTimeValue
AnimationTrack.Mode
mode
static Keyframe[]
NextPose
Keyframe[]
Pose
Keyframe[]
PrevPose
boolean
reverse
float
SpeedDelta
boolean
StopOnFrameOneAfterLoop
-
Constructor Summary
Constructors Constructor Description AnimationTrack()
-
Method Summary
Modifier and Type Method Description float
get2DFrame(IsoAnim currentAnim)
org.lwjgl.util.vector.Vector3f
getPosition(org.lwjgl.util.vector.Vector3f out, int bone)
org.lwjgl.util.vector.Quaternion
getRotation(org.lwjgl.util.vector.Quaternion out, int bone)
AnimationTrack
reset()
void
StartClip(AnimationClip clip, boolean Loop, boolean Finished)
void
syncToFrame(IsoSpriteInstance def, IsoAnim anim)
void
Update(AnimationPlayer player, float time, boolean relativeToCurrentTime, org.lwjgl.util.vector.Matrix4f rootTransform)
void
UpdateKeyframes(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
public org.lwjgl.util.vector.Quaternion getRotation(org.lwjgl.util.vector.Quaternion out, int bone) -
getPosition
public org.lwjgl.util.vector.Vector3f getPosition(org.lwjgl.util.vector.Vector3f out, int bone) -
get2DFrame
-
Update
public void Update(AnimationPlayer player, float time, boolean relativeToCurrentTime, org.lwjgl.util.vector.Matrix4f rootTransform) -
UpdateKeyframes
public void UpdateKeyframes(float time, float nonDurTime, boolean relativeToCurrentTime) -
StartClip
-
reset
-