Skip to main content

sample_pose_into

Function sample_pose_into 

pub fn sample_pose_into(
    joints: &[Joint],
    clip: Clip<'_>,
    time: f64,
    previous: Option<&[Motor]>,
    blend: f64,
    out: &mut [Motor],
) -> Result<usize, SkeletalError>
Expand description

Samples a local pose, optionally transitioning from a caller-owned pose. blend is target influence [0, 1]. Missing tracks retain the rig rest pose. Validation finishes before modifying any output. Time is visual, not a game day.