AutoMovie API
    Preparing search index...

    Function prepareChainRigConstants

    • The part of a chain fit's lazy rig that the rig alone fixes: what prepareChainFitRig reads of the skeleton, the merged clinical axes, the rest frames and the chain's pose-independent records, and nothing of a source pose, a goal or a target.

      A fit of one request builds it for itself. A chain's rig constants (prepareChainConstants) are built with one, for the clinical tables given there, and a chain placed from those constants (placeChainPlant) carries it to its fit, which must pass those same tables.

      Every member is first computed where its first consumer asks for it, so a rig that refuses an axis or an angle refuses it at that consumer's call, and a refusal is not kept.

      Parameters

      • props: Pick<
            IAutoMovieFitChainToTargetProps,
            "skeleton"
            | "chain"
            | "jointAxes"
            | "restFrames",
        >

        The rig, the chain and the merged clinical tables, unchanged for the record's life.

      • fixed: prepareChainRigConstants.IFixed | null

        The chain's pose-independent records: its two joints' domains and its fixed lower-to-effector rotation. Null for a chain that could not be prepared, whose domains and effector rest are then read from the skeleton as prepareChainFitRig read them.

      Returns IAutoMoviePrepareChainRigConstants.IRig

      The lazy rig-only members and the hinge span holder.