@modelhealth/viewer-react
    Preparing search index...

    Interface VisualizerTransforms

    Parsed per-body-segment 3D transforms for a trial's animation, produced by the SDK's "animation" motion data type.

    const transforms = await fetchAnimationTransforms(client, activity);
    
    interface VisualizerTransforms {
        bodies: Record<string, BodyTransform>;
        time: number[];
    }
    Index
    bodies: Record<string, BodyTransform>

    Body segment transforms, keyed by body name (e.g. "pelvis", "femur_r").

    time: number[]

    Frame timestamps in seconds.