Blockbench Reference Docs
    Preparing search index...

    Class ModelProject

    A project instance. The tab bar can be used to switch between projects.

    Indexable

    • [key: string]: any
    Index

    Constructors

    Properties

    added_models: number
    ambientocclusion: boolean
    animations: _Animation[]
    backgrounds: { [key: string]: any }
    BedrockEntityManager?: {}
    box_uv: boolean
    display_settings: {
        [slot: string]: {
            mirror: [boolean, boolean, boolean];
            rotation: [number, number, number];
            scale: [number, number, number];
            translation: [number, number, number];
            export?(...args: any[]): any;
        };
    }
    display_uv: string
    EditSession: EditSession
    elements: OutlinerElement[]
    exploded_view: boolean
    export_path: string

    The path under which an exported file is saved, if available

    format: ModelFormat
    front_gui_light: boolean
    groups: Group[]
    locked: boolean

    When set to true, the project tab can no longer be selected or unselected

    mesh_selection: {
        [element_key: string]: {
            edges: string[];
            faces: string[];
            vertices: string[];
        };
    }
    mode: string
    model_identifier: string
    name: string
    outliner: OutlinerNode[]
    overrides?: any
    parent: string
    previews: { [key: string]: {} }
    save_path: string

    The path under which a project file is saved, if available

    saved: boolean
    selected: boolean
    selected_elements: OutlinerElement[]
    selected_faces: any[]
    selected_group: Group
    selected_texture: Texture
    texture_height: number
    texture_width: number
    textures: Texture[]
    thumbnail: string
    timeline_animators: []
    tool: string
    unhandled_root_fields: any
    uuid: string
    uv_viewport: { offset: [number, number]; zoom: number; [key: string]: any }
    view_mode: string
    properties: { [key: string]: Property<any> }

    Accessors

    Methods