viewport_lib/plugins/skeleton/mod.rs
1//! Skeletal animation: substrate types, animation clips, and built-in plugins.
2//!
3//! This module groups everything skeletal in one place so the feature can grow
4//! (clip player, blending, IK, etc.) without scattering across the runtime
5//! tree.
6//!
7//! - [`skeleton`]: data types and CPU LBS math (`Skeleton`, `Pose`,
8//! `JointMatrices`, `apply_skin`).
9//! - [`plugin`]: the [`SkeletonPlugin`] `RuntimePlugin` impl.
10//! - [`clip`]: animation clip data model (`AnimationClip`, `Track`, `Sampler`).
11//! - [`clip_player`]: the [`ClipPlayerPlugin`] that drives a `Pose` from a clip.
12//! - [`actor`]: the [`SkinnedActorPlugin`] for many independently-animated
13//! actors sharing one skeleton (crowds, NPCs, etc.).
14
15pub mod actor;
16pub mod clip;
17pub mod clip_player;
18pub mod plugin;
19pub mod skeleton;
20
21pub use actor::{SkinnedActor, SkinnedActorPart, SkinnedActorPlugin};
22pub use clip::{AnimationClip, Channel, Interpolation, Sampler, Track, TrackValue, TrackValues};
23pub use clip_player::ClipPlayerPlugin;
24pub use plugin::{SkeletonPlugin, SkinningPath};
25pub use skeleton::{Joint, JointMatrices, MAX_JOINTS, Pose, Skeleton, apply_skin};