OptionaljointAxes: Partial<Record<AutoMovieHumanoidBone, IAutoMovieJointAxes>>When true, clamp each sampled pose into the skeleton's ROM before it is applied, and again AFTER the secondary-motion springs, which overshoot by design (#1048), so joints can no longer exceed their anatomical limits.
Optionalspring: IAutoMovieSpringConfig
Secondary-motion joints (tail, ears) driven with follow-through.
OptionalrestFrames: Partial<Record<AutoMovieHumanoidBone, IAutoMovieRestFrame>>
Per-bone rest frames: read each sampled joint angle as clinical and map it into the rig's rest-relative space before articulating (e.g. abduction 180 raises either arm overhead regardless of side). Omit to treat angles as raw rig-space, the historical behaviour.
The most recently sampled facial expression, or null.
Swap the clip being played, preserving active spring follow-through.
Sample the clip at elapsed seconds and apply pose and expression.
Springs hold on equal or backward timestamps and advance at most 1/15 second.
Drives a motion clip onto a built model: given an elapsed time it samples the clip (via the engine's interpolation) and applies the resulting pose to the model's bones.
Call update with elapsed seconds; the host owns rendering and the animation loop (see mountViewer). Without springs, the pose depends only on clip time. Springs retain velocity and depend on the update sequence; equal or backward times hold the last spring state.
Expression output is sampled on the same frame clock and applied to morph targets or imported-runtime expression sinks when the target provides them; when the target's
lookAtis"bone", its gaze channels turn the eye bones instead (resolveLookAt).