AutoMovie API
    Preparing search index...

    Function measureAutoMovieInspectionMeshes

    • Find the meshes an inspection draws and measure on them the kinds it measures itself and the request asks for: the edge kind and the defect/<kind> kinds.

      A mesh is drawn when it and its ancestors are visible and it has a position buffer; batched meshes are not. Edges and defects are measured on every drawn mesh hidden does not leave out, whether or not parts selects it, so a pattern can name one of its marks alone. defects are the engine defect kinds that exist under the request: the sliver kind only while a sliver limit is set.

      Parameters

      • props: {
            asks: (kind: string) => boolean;
            defects: readonly IAutoMovieMeshDefect.Kind[];
            drawn: readonly IAutoMovieInspectionPath[];
            hidden: (path: string) => boolean;
            sliver: number | null;
        }
        • asks: (kind: string) => boolean

          Whether the request asks for a kind.

        • defects: readonly IAutoMovieMeshDefect.Kind[]

          The engine defect kinds that exist under the request.

        • drawn: readonly IAutoMovieInspectionPath[]

          Every drawn object of the scene with its path.

        • hidden: (path: string) => boolean

          Whether hide leaves a path out.

        • sliver: number | null

          Sliver aspect limit, or null.

      Returns {
          measured: IAutoMovieInspectionMeasured[];
          meshes: { mesh: Mesh; path: string }[];
      }