AutoMovie API
    Preparing search index...

    An admitted balance correction written after the stance and before the reaching arm.

    interface ICorrection {
        channel:
            | "head"
            | "leftHand"
            | "rightHand"
            | "root"
            | "trunk"
            | "leftArm"
            | "rightArm"
            | "leftLeg"
            | "rightLeg";
        write: (
            posture: IAutoMovieMotionHumanPosture,
            seconds: number,
            before?: (
                seconds: number,
                channels?: readonly (
                    | "head"
                    | "leftHand"
                    | "rightHand"
                    | "root"
                    | "trunk"
                    | "leftArm"
                    | "rightArm"
                    | "leftLeg"
                    | "rightLeg"
                )[],
                resolution?: IAutoMoviePoseResolution.ISource,
                projection?: (pose: IAutoMoviePose) => IAutoMoviePose,
            ) => IAutoMovieMotionHumanPosture,
            resolution?: IAutoMoviePoseResolution.ISource,
            projection?: (pose: IAutoMoviePose) => IAutoMoviePose,
        ) => IAutoMovieMotionHumanPosture;
    }
    Index
    channel:
        | "head"
        | "leftHand"
        | "rightHand"
        | "root"
        | "trunk"
        | "leftArm"
        | "rightArm"
        | "leftLeg"
        | "rightLeg"

    The body channel the correction changes.

    write: (
        posture: IAutoMovieMotionHumanPosture,
        seconds: number,
        before?: (
            seconds: number,
            channels?: readonly (
                | "head"
                | "leftHand"
                | "rightHand"
                | "root"
                | "trunk"
                | "leftArm"
                | "rightArm"
                | "leftLeg"
                | "rightLeg"
            )[],
            resolution?: IAutoMoviePoseResolution.ISource,
            projection?: (pose: IAutoMoviePose) => IAutoMoviePose,
        ) => IAutoMovieMotionHumanPosture,
        resolution?: IAutoMoviePoseResolution.ISource,
        projection?: (pose: IAutoMoviePose) => IAutoMoviePose,
    ) => IAutoMovieMotionHumanPosture

    The event-windowed posture correction.

    Type Declaration

      • (
            posture: IAutoMovieMotionHumanPosture,
            seconds: number,
            before?: (
                seconds: number,
                channels?: readonly (
                    | "head"
                    | "leftHand"
                    | "rightHand"
                    | "root"
                    | "trunk"
                    | "leftArm"
                    | "rightArm"
                    | "leftLeg"
                    | "rightLeg"
                )[],
                resolution?: IAutoMoviePoseResolution.ISource,
                projection?: (pose: IAutoMoviePose) => IAutoMoviePose,
            ) => IAutoMovieMotionHumanPosture,
            resolution?: IAutoMoviePoseResolution.ISource,
            projection?: (pose: IAutoMoviePose) => IAutoMoviePose,
        ): IAutoMovieMotionHumanPosture
      • The posture with this primitive's channels written.

        Parameters

        • posture: IAutoMovieMotionHumanPosture

          The posture so far at this second.

        • seconds: number

          Seconds since the action's start, in [from, to].

        • Optionalbefore: (
              seconds: number,
              channels?: readonly (
                  | "head"
                  | "leftHand"
                  | "rightHand"
                  | "root"
                  | "trunk"
                  | "leftArm"
                  | "rightArm"
                  | "leftLeg"
                  | "rightLeg"
              )[],
              resolution?: IAutoMoviePoseResolution.ISource,
              projection?: (pose: IAutoMoviePose) => IAutoMoviePose,
          ) => IAutoMovieMotionHumanPosture

          The posture so far at any second of the action: the base and earlier primitives, optionally restricted to explicitly requested channels. A movement planned once over its span reads it, so its plan is a constant of the action; absent where no action composes the primitive.

            • (
                  seconds: number,
                  channels?: readonly (
                      | "head"
                      | "leftHand"
                      | "rightHand"
                      | "root"
                      | "trunk"
                      | "leftArm"
                      | "rightArm"
                      | "leftLeg"
                      | "rightLeg"
                  )[],
                  resolution?: IAutoMoviePoseResolution.ISource,
                  projection?: (pose: IAutoMoviePose) => IAutoMoviePose,
              ): IAutoMovieMotionHumanPosture
            • The posture at a second of the action.

              Parameters

              • seconds: number

                Seconds since the action's start, in [0, duration]; outside, the nearest end.

              • Optionalchannels: readonly (
                    | "head"
                    | "leftHand"
                    | "rightHand"
                    | "root"
                    | "trunk"
                    | "leftArm"
                    | "rightArm"
                    | "leftLeg"
                    | "rightLeg"
                )[]

                Optional demand for these channels only. A reader using it inspects only these channels; implementations may still compute the whole posture. Omission requests every channel.

              • Optionalresolution: IAutoMoviePoseResolution.ISource

                Optional exact FK source borrowed only for this synchronous unchanged-body evaluation; never retained in the plan, posture, preparation evidence or a returned callback.

              • Optionalprojection: (pose: IAutoMoviePose) => IAutoMoviePose

                Optional genuine same-body ROM projector borrowed for this call only; every actual direct joint is still projected, and unknown functions fall back to ordinary admission.

              Returns IAutoMovieMotionHumanPosture

              The borrowed posture; when a demand is supplied, only requested channels are guaranteed current.

        • Optionalresolution: IAutoMoviePoseResolution.ISource

          Optional exact FK source borrowed only during this same-body synchronous write; never retain it in a plan, output or callback.

        • Optionalprojection: (pose: IAutoMoviePose) => IAutoMoviePose

          Optional genuine same-body direct ROM projector, used only for actual current solves during this write.

        Returns IAutoMovieMotionHumanPosture

        The posture; fields outside the claimed channels are ignored.