Represents a single VRM Animation. You probably want to create an AnimationClip using createVRMAnimationClip.

Constructors

Properties

duration: number
expressionTracks: {
    custom: Map<string, NumberKeyframeTrack>;
    preset: Map<VRMExpressionPresetName, NumberKeyframeTrack>;
}

Type declaration

  • custom: Map<string, NumberKeyframeTrack>
  • preset: Map<VRMExpressionPresetName, NumberKeyframeTrack>
humanoidTracks: {
    rotation: Map<VRMHumanBoneName, QuaternionKeyframeTrack>;
    translation: Map<"hips", VectorKeyframeTrack>;
}

Type declaration

  • rotation: Map<VRMHumanBoneName, QuaternionKeyframeTrack>
  • translation: Map<"hips", VectorKeyframeTrack>
lookAtTrack: null | QuaternionKeyframeTrack
restHipsPosition: Vector3