Class AnimationPlayer
java.lang.Object
zombie.core.skinnedmodel.animation.AnimationPlayer
public class AnimationPlayer
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
angle
float
angleStep
Matrix4f[]
boneTransforms
static java.util.Stack
freeTracks
Matrix4f
propTransforms
SkinningData
skinningDataValue
Matrix4f[]
skinTransforms
float
targetAngle
java.util.ArrayList
Tracks
Matrix4f[]
worldTransforms
-
Constructor Summary
Constructors Constructor Description AnimationPlayer(SkinningData skinningData)
-
Method Summary
Modifier and Type Method Description AnimationTrack
getAnimTrack(java.lang.String string)
Matrix4f
GetPropBoneMatrix()
void
ResetToFrameOne()
static Quaternionf
slerp(Quaternionf quaternionf, Quaternionf quaternionf2, Quaternionf quaternionf3, float float1, boolean boolean1)
static Vector3f
slerp(Vector3f vector3f, Vector3f vector3f2, Vector3f vector3f3, float float1, boolean boolean1)
AnimationTrack
StartClip(AnimationClip animationClip, boolean boolean1, boolean boolean2, boolean boolean3)
void
Update(float float1, boolean boolean1, Matrix4f matrix4f)
void
UpdateBoneTransforms(float float1, boolean boolean1)
void
UpdateSkinTransforms()
void
UpdateWorldTransforms(Matrix4f matrix4f)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
propTransforms
-
boneTransforms
-
worldTransforms
-
skinTransforms
-
skinningDataValue
-
angle
public float angle -
targetAngle
public float targetAngle -
angleStep
public float angleStep -
freeTracks
public static java.util.Stack freeTracks -
Tracks
public java.util.ArrayList Tracks
-
-
Constructor Details
-
AnimationPlayer
-
-
Method Details
-
GetPropBoneMatrix
-
StartClip
public AnimationTrack StartClip(AnimationClip animationClip, boolean boolean1, boolean boolean2, boolean boolean3) -
Update
-
UpdateBoneTransforms
public void UpdateBoneTransforms(float float1, boolean boolean1) -
slerp
-
slerp
public static final Quaternionf slerp(Quaternionf quaternionf, Quaternionf quaternionf2, Quaternionf quaternionf3, float float1, boolean boolean1) -
UpdateWorldTransforms
-
UpdateSkinTransforms
public void UpdateSkinTransforms() -
ResetToFrameOne
public void ResetToFrameOne() -
getAnimTrack
-