Expand description
Animation clips: keyframe tracks, sampling, clip registry, blend shapes, root motion.
This module defines the raw data layer for skeletal animation:
AnimationChannel— a single keyframe track targeting one bone propertyAnimationClip— a collection of channels with a name and durationAnimationClipSampler— samples a clip at a given time to produce aPoseClipRegistry— named clip store with register/unregister/getBlendShapeAnimator— drives blend-shape (morph target) weight tracksRootMotion— extracts root bone deltas for locomotion
Structs§
- Animation
Channel - A single keyframe track targeting one property of one bone.
- Animation
Clip - A named sequence of keyframe channels over time.
- Animation
Clip Sampler - Samples an
AnimationClipat a given playback time and applies it to a basePose, handling all loop modes. - Animation
Event - An event embedded in a clip that fires when playback crosses its timestamp.
- Blend
Shape - A morph-target (blend shape) storing per-vertex position deltas.
- Blend
Shape Animator - Drives blend-shape weights via time-varying F32 keyframe tracks.
- Blend
Shape Set - A set of blend shapes for a single mesh.
- Clip
Registry - A named store for
AnimationClips. - F32Key
- A scalar keyframe with linear interpolation.
- QuatKey
- A quaternion keyframe (SQUAD interpolation).
- Root
Motion - Root motion extracted from a clip’s root bone.
- Vec3Key
- A Vec3 keyframe with cubic Hermite tangents.
Enums§
- Channel
Data - Variant keyframe data for different property types.
- Channel
Target - The property animated by a single
AnimationChannel. - Loop
Mode - How an animation clip behaves when time exceeds its duration.