AutoMovie API
    Preparing search index...

    Type Alias IAutoMoviePolygonBodyCue

    IAutoMoviePolygonBodyCue: {
        at: number;
        bone: Exclude<AutoMovieHumanoidBone, "leftEye" | "rightEye" | "jaw">;
        duration: number;
        subject: string;
    } & (
        | { kind: "bend"; rotation: IAutoMovieQuaternion }
        | {
            kind: "detach";
            rotation: IAutoMovieQuaternion;
            translation: IAutoMovieVector3;
        }
    )

    An authored shot cue for the visible polygon body. The cue moves the selected rigid part and its descendants at source time. A bend follows the living pose's joint. A detached part leaves from the cue's sampled pose and then follows the authored shot-world displacement.

    Type Declaration

    • Readonlyat: number

      Cue start in shot-local seconds.

    • Readonlybone: Exclude<AutoMovieHumanoidBone, "leftEye" | "rightEye" | "jaw">

      Root of a branch with a visible polygon part. The body drawing has no eye or jaw branches.

    • Readonlyduration: number

      Transition length in seconds. Zero selects the final transform at the cue.

    • Readonlysubject: string

      Id of the staged actor whose polygon drawing receives the cue.

    • { kind: "bend"; rotation: IAutoMovieQuaternion }
      • Readonlykind: "bend"

        Bend the visible branch about the current bone's origin.

      • Readonlyrotation: IAutoMovieQuaternion

        Final unit-quaternion turn in the current bone's local frame.

    • {
          kind: "detach";
          rotation: IAutoMovieQuaternion;
          translation: IAutoMovieVector3;
      }
      • Readonlykind: "detach"

        Release the displayed branch from the pose at the cue.

      • Readonlyrotation: IAutoMovieQuaternion

        Final unit-quaternion turn in shot-world axes about the release origin.

      • Readonlytranslation: IAutoMovieVector3

        Final displacement of the release origin in shot-world metres.