AutoMovie API
    Preparing search index...
    IResult:
        | { status: "clear"; triangles: number }
        | {
            cut: IAutoMovieVector3;
            depth: number;
            opaque: boolean;
            point: IAutoMovieVector3;
            status: "clipped";
            triangles: number;
        }
        | { reason: string; status: "over-budget" }
        | { reason: string; status: "unmeasured" }

    Clear, clipped with its deepest witness, or unmeasured with a reason.

    Type Declaration

    • { status: "clear"; triangles: number }
      • status: "clear"

        Every examined triangle stays on or beyond the near plane inside the frame.

      • triangles: number

        Drawn triangles examined.

    • {
          cut: IAutoMovieVector3;
          depth: number;
          opaque: boolean;
          point: IAutoMovieVector3;
          status: "clipped";
          triangles: number;
      }
      • cut: IAutoMovieVector3

        World point on the near plane at the same delivered pixel, metres, where the cut shows in the frame.

      • depth: number

        Deepest intrusion in front of the near plane, world metres.

      • opaque: boolean

        Whether the reported intrusion lies on an opaque stock surface; false means the cut part may be invisible anyway.

      • point: IAutoMovieVector3

        World surface point of that intrusion, metres.

      • status: "clipped"

        Some drawn surface inside the frame lies in front of the near plane.

      • triangles: number

        Drawn triangles examined.

    • { reason: string; status: "over-budget" }
      • reason: string

        How far the budget fell short.

      • status: "over-budget"

        The drawn triangles in front of the near plane exceed the caller's budget; a larger budget completes the check.

    • { reason: string; status: "unmeasured" }
      • reason: string

        Why the check cannot run.

      • status: "unmeasured"

        The surface cannot be checked: an unreadable drawable, a non-finite vertex or projection, or an invalid budget.