Blockbench Reference Docs
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _static: { properties: any; temp_data: Record<string, any> }
    allow_mirror_modeling?: boolean
    buttons: OutlinerToggle[]
    children: (NullObject | Mesh | ArmatureBone)[]
    export: boolean
    icon: string
    isOpen: boolean
    locked: boolean
    menu: Menu
    name: string
    name_regex: () => false | "a-zA-Z0-9_"
    origin: ArrayVector3
    scope: number
    selected: boolean
    title: string
    type: string
    uuid: string
    visibility: boolean
    all: Armature[]
    animator?: BoneAnimator
    behavior: {
        child_types: string[];
        movable: boolean;
        parent: boolean;
        rotatable: boolean;
        unique_name: boolean;
    }
    behavior_overrides: any[]
    isParent: false
    preview_controller: NodePreviewController
    properties: Record<string, Property<any>>
    selected: Armature[]
    types: Record<string, ElementTypeConstructor>
    uuids: { [uuid: string]: OutlinerNode }

    Accessors

    • get mesh(): Object3D

      Returns Object3D

    • get scene_object(): Object3D

      Returns Object3D

    • get temp_data(): Record<string, any>

      Returns Record<string, any>

    Methods

    • Parameters

      Returns this

    • Parameters

      Returns Record<string, ArrayVector3>

    • Parameters

      • event: any
      • Optionaloutliner_click: boolean

      Returns void

    • Create a unique name for the group or element by adding a number at the end or increasing it.

      Parameters

      Returns string | false

    • Parameters

      Returns void

    • Parameters

      • Optionalkeep_uuid: boolean

      Returns Armature

    • Returns number

    • Returns Object3D

    • Returns {
          children: string[];
          isOpen: boolean;
          name: string;
          type: string;
          uuid: string;
      }

    • Parameters

      • flag: string

      Returns any

    • Initializes the node. This should always be called when creating nodes that will be used in the outliner.

      Returns this

    • Checks of the group or element is a child of group.

      Parameters

      • node: OutlinerNode
      • max_levels: number

        The maximum number of generations that can be between the element and the group

      Returns boolean

    • Parameters

      • toggle: any

      Returns true

    • Mark the element as selected

      Parameters

      • Optionaldescendants: boolean

      Returns this

    • Parameters

      • search_term_lowercase: string

      Returns boolean

    • Returns boolean

    • Returns this

    • Removes the node.

      Returns this

    • Marks the name of the group or element in the outliner for renaming.

      Returns this

    • Returns string

    • Saves the changed name of the element by creating an undo point and making the name unique if necessary.

      Parameters

      • Optionalsave: boolean

      Returns this

    • Parameters

      • Optionalevent: Event
      • Optionalis_outliner_click: boolean

      Returns false | Armature

    • Displays the context menu of the element

      Parameters

      • event: HTMLElement | Event

        Mouse event, determines where the context menu spawns.

      Returns this

    • Parameters

      • event: MouseEvent

      Returns this

    • Unfolds the outliner and scrolls up or down if necessary to show the group or element.

      Returns void

    • Parameters

      Returns this

    • Parameters

      • Optionalunselect_parent: boolean

      Returns this

    • Updates the Vue node of the element. This is only necessary in some rare situations

      Returns this

    • Parameters

      • override_options: {
            behavior: Record<string, any>;
            condition: ConditionResolvable;
            priority?: number;
        }

      Returns Deletable

    • Check if any elements of the type are in the project

      Returns boolean

    • Check if any elements of the type are currently selected

      Returns boolean

    • Parameters

      • type: string

      Returns boolean