Class AnimationPlayer

java.lang.Object
zombie.core.skinnedmodel.animation.AnimationPlayer

public class AnimationPlayer
extends java.lang.Object
  • Field Details

    • propTransforms

      public Matrix4f propTransforms
    • boneTransforms

      public Matrix4f[] boneTransforms
    • worldTransforms

      public Matrix4f[] worldTransforms
    • skinTransforms

      public Matrix4f[] skinTransforms
    • skinningDataValue

      public SkinningData 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

      public AnimationPlayer​(SkinningData skinningData)
  • Method Details

    • GetPropBoneMatrix

      public Matrix4f GetPropBoneMatrix()
    • StartClip

      public AnimationTrack StartClip​(AnimationClip animationClip, boolean boolean1, boolean boolean2, boolean boolean3)
    • Update

      public void Update​(float float1, boolean boolean1, Matrix4f matrix4f)
    • UpdateBoneTransforms

      public void UpdateBoneTransforms​(float float1, boolean boolean1)
    • slerp

      public static final Vector3f slerp​(Vector3f vector3f, Vector3f vector3f2, Vector3f vector3f3, float float1, boolean boolean1)
    • slerp

      public static final Quaternionf slerp​(Quaternionf quaternionf, Quaternionf quaternionf2, Quaternionf quaternionf3, float float1, boolean boolean1)
    • UpdateWorldTransforms

      public void UpdateWorldTransforms​(Matrix4f matrix4f)
    • UpdateSkinTransforms

      public void UpdateSkinTransforms()
    • ResetToFrameOne

      public void ResetToFrameOne()
    • getAnimTrack

      public AnimationTrack getAnimTrack​(java.lang.String string)