AutoMovie API
    Preparing search index...
    IConstraint: {
        enabled?: (seconds: number) => boolean;
        end: number;
        label: string;
        maximum?: number;
        minimum?: number;
        start: number;
    } & (
        | {
            kind: "goal";
            point: IAutoMovieMeasurePhysicalMotionConstraint.IAnchor;
            target: (seconds: number) => IAutoMovieVector3;
        }
        | {
            from: IAutoMovieMeasurePhysicalMotionConstraint.IAnchor;
            horizontal?: boolean;
            kind: "distance";
            to: IAutoMovieMeasurePhysicalMotionConstraint.IAnchor;
        }
        | {
            from: IAutoMovieMeasurePhysicalMotionConstraint.IAnchor;
            kind: "angle";
            pivot: IAutoMovieMeasurePhysicalMotionConstraint.IAnchor;
            to: IAutoMovieMeasurePhysicalMotionConstraint.IAnchor;
        }
    )

    A time-windowed goal, distance or bend promise evaluated against displayed poses.

    kind chooses required witnesses; limits use metres for goal/distance and radians for bend, where straight is zero. The inclusive window uses film seconds. AutoMovieMotionAudit invokes optional enabled before measuring and target only for enabled goal samples; callbacks are synchronous, borrowed for the run and must not mutate poses. Admission requires a nonblank label, finite ordered window and at least one finite bound; disabled samples are skipped. Callback failures and degenerate angle geometry reject the audit.

    Type Declaration

    • Optionalenabled?: (seconds: number) => boolean

      Optional synchronous phase predicate at film seconds; only false skips the sample. Omitted means enabled throughout the inclusive window; exceptions reject the audit.

    • end: number

      Inclusive last film second.

    • label: string

      Caller-owned measurement identity.

    • Optionalmaximum?: number

      Inclusive upper acceptance limit; omitted means unbounded.

    • Optionalminimum?: number

      Inclusive lower acceptance limit; omitted means unbounded.

    • start: number

      Inclusive first film second.