Blockbench Reference Docs
    Preparing search index...

    Interface UpdateViewOptions

    interface UpdateViewOptions {
        element_aspects?: {
            faces?: boolean;
            geometry?: boolean;
            painting_grid?: boolean;
            transform?: boolean;
            uv?: boolean;
            visibility?: boolean;
        };
        elements?: OutlinerElement[];
        group_aspects?: { transform?: boolean; visibility?: boolean };
        groups?: Group[];
        selection?: boolean;
    }
    Index

    Properties

    element_aspects?: {
        faces?: boolean;
        geometry?: boolean;
        painting_grid?: boolean;
        transform?: boolean;
        uv?: boolean;
        visibility?: boolean;
    }

    Which aspects of the elements to update

    Type Declaration

    • Optionalfaces?: boolean

      Update the mesh faces

    • Optionalgeometry?: boolean

      Update the position and geometry

    • Optionalpainting_grid?: boolean

      Update the painting grid

    • Optionaltransform?: boolean

      Update the transform of elements

    • Optionaluv?: boolean

      Update the UV mapping

    • Optionalvisibility?: boolean

      Update visibility of elements

    elements?: OutlinerElement[]

    List of elements to update

    group_aspects?: { transform?: boolean; visibility?: boolean }

    Which aspects of the groups to update

    Type Declaration

    • Optionaltransform?: boolean

      Update the transform of elements

    • Optionalvisibility?: boolean

      Update visibility of elements

    groups?: Group[]

    Groups to update

    selection?: boolean

    Whether to update the selection (updates the selection outlines and interface)