AutoMovie API
    Preparing search index...
    • Prepare the same one-bone clamp from a caller's first matching bone and frame reader, allowing one pose operation to share its index and axes. The supplied record must belong to bone; undefined preserves named default ROM. The frame reader runs only after the joint is constrained.

      Parameters

      Returns (joint: IAutoMovieJointPose) => IAutoMovieJointPose

      A clamp for joints of bone, borrowing the resolved constraint and frame.

      States lookup provenance, absent-bone default behavior, frame-reader ordering and the closure's fixed bone and lifetime. getConstraint owns override/default precedence; an unconstrained joint returns by identity, otherwise the frame is read once and clampJointRom performs each actual projection. This shared preparation separates bone lookup from the unchanged constraint gate and projection used by standalone and full-pose clamps. Does not validate skeleton membership, repair axes or cache a clamped answer; the caller supplies the actual first matching bone and same-skeleton rig reader. Constant preparation apart from the caller's frame reader, then the existing projection for every joint; no bone scan is performed here. Reuses this operation's constraint/frame and a swing-twist frame's lazy basis while preserving every actual projection; no state is shared across solves. One returned clamp owns its optional prepared frame, private readers and at most one admitted-axis reference and one swing basis plus borrowed constraint/axis/frame records, released with the operation; ordinary box clamps keep no prepared swing basis and a one-shot swing clamp pays the fixed-size wrapper and its three closures.