Class AnimationClip
java.lang.Object
zombie.core.skinnedmodel.animation.AnimationClip
Created by LEMMYATI on 03/01/14.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnimationClip(float duration, List<Keyframe> keyframes, String name, boolean bKeepLastFrame) AnimationClip(float duration, List<Keyframe> keyframes, String name, boolean bKeepLastFrame, boolean isRagdoll) -
Method Summary
Modifier and TypeMethodDescriptionKeyframe[]getBoneFramesAt(int idx) floatgetKeyframe(int keyframeIndex) Keyframe[]Keyframe[]getKeyframesForBone(int in_boneIdx, Keyframe[] inout_keyframesForBone) getRootMotionFrameAt(int idx) intfloatgetTranslationLength(BoneAxis deferredBoneAxis) booleanvoidvoidsetRagdollSimulationActive(boolean in_val)
-
Field Details
-
name
-
isRagdoll
public final boolean isRagdoll -
keepLastFrame
public final boolean keepLastFrame
-
-
Constructor Details
-
AnimationClip
-
AnimationClip
-
-
Method Details
-
getKeyframe
-
getBoneFramesAt
-
getRootMotionFrameCount
public int getRootMotionFrameCount() -
getRootMotionFrameAt
-
getKeyframes
-
getDuration
public float getDuration() -
getKeyframesForBone
-
isRagdollSimulationActive
public boolean isRagdollSimulationActive() -
setRagdollSimulationActive
public void setRagdollSimulationActive(boolean in_val) -
getTranslationLength
-
recalculateKeyframesByBoneIndex
public void recalculateKeyframesByBoneIndex()
-