Class AnimationClip

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

public final class AnimationClip extends Object
Created by LEMMYATI on 03/01/14.
  • Field Details

    • name

      public final String name
    • isRagdoll

      public final boolean isRagdoll
    • keepLastFrame

      public final boolean keepLastFrame
  • Constructor Details

    • AnimationClip

      public AnimationClip(float duration, List<Keyframe> keyframes, String name, boolean bKeepLastFrame)
    • AnimationClip

      public AnimationClip(float duration, List<Keyframe> keyframes, String name, boolean bKeepLastFrame, boolean isRagdoll)
  • Method Details

    • getKeyframe

      public Keyframe getKeyframe(int keyframeIndex)
    • getBoneFramesAt

      public Keyframe[] getBoneFramesAt(int idx)
    • getRootMotionFrameCount

      public int getRootMotionFrameCount()
    • getRootMotionFrameAt

      public Keyframe getRootMotionFrameAt(int idx)
    • getKeyframes

      public Keyframe[] getKeyframes()
    • getDuration

      public float getDuration()
    • getKeyframesForBone

      public Keyframe[] getKeyframesForBone(int in_boneIdx, Keyframe[] inout_keyframesForBone)
    • isRagdollSimulationActive

      public boolean isRagdollSimulationActive()
    • setRagdollSimulationActive

      public void setRagdollSimulationActive(boolean in_val)
    • getTranslationLength

      public float getTranslationLength(BoneAxis deferredBoneAxis)
    • recalculateKeyframesByBoneIndex

      public void recalculateKeyframesByBoneIndex()