AutoMovie API
    Preparing search index...

    Function measureAutoMovieInspectionPaths

    • Measure the world-space box of every chosen path of an inspected scene: of the drawn objects at that path and of the marks at that path, together.

      An object's box is what measureAutoMovieInspectionBounds measures of it as drawn now, its posed vertices and those of the objects beneath it that are drawn, so an isolated object contributes nothing. A mark's box holds its coordinates carried by its anchor's world matrix, through the anchor's first instance when it is an instanced mesh, and an arrow's tips as well as its origins. Paths come in the order the objects, then the marks, first give them; a chosen path with nothing drawn is left out.

      Parameters

      • props: {
            choose: (path: string) => boolean;
            marks: readonly {
                anchor: Object3D<Object3DEventMap> | null;
                mark: IAutoMovieMark;
            }[];
            objects: readonly IAutoMovieInspectionPath[];
        }
        • choose: (path: string) => boolean

          Whether a path is measured.

        • marks: readonly { anchor: Object3D<Object3DEventMap> | null; mark: IAutoMovieMark }[]

          Drawn marks with the object their frame belongs to, null for world space.

        • objects: readonly IAutoMovieInspectionPath[]

          Drawn objects with their paths.

      Returns IAutoMovieInspectionDrawable[]