Blockbench Reference Docs
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • data: any
      • uuid: any

      Returns SplineMesh

    Properties

    _static: { properties: any; temp_data: Record<string, any> }
    allow_mirror_modeling?: boolean
    buttons: OutlinerToggle[]
    children?: OutlinerNode[]
    color: number
    display_space: any
    export: boolean
    faces: {}
    icon: string
    locked: boolean
    menu: Menu
    name: string
    name_regex: (element?: OutlinerNode) => string | boolean
    radial_resolution: any
    radius_multiplier: any
    render_mode: string
    render_options: { display_space: any; shading: any }
    scope: number
    selected: boolean
    shading: string
    texture: boolean
    title: string
    tubular_resolution: any
    type: string
    uuid: string
    animator?: BoneAnimator
    behavior: {
        has_pivot: boolean;
        marker_color: boolean;
        movable: boolean;
        resizable: boolean;
        rotatable: boolean;
        unique_name: boolean;
    }
    behavior_overrides: any[]
    isParent: false
    preview_controller: NodePreviewController
    properties: Record<string, Property<any>>
    selected: OutlinerElement[]
    types: Record<string, ElementTypeConstructor>
    uuids: { [uuid: string]: OutlinerNode }

    Accessors

    • get curves(): any

      Returns any

    • set curves(v: any): void

      Parameters

      • v: any

      Returns void

    • get handles(): any

      Returns any

    • set handles(v: any): void

      Parameters

      • v: any

      Returns void

    • get mesh(): Object3D

      Returns Object3D

    • get position(): any

      Returns any

    • get scene_object(): Object3D

      Returns Object3D

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

      Returns Record<string, any>

    • get vertice_list(): any[]

      Returns any[]

    • get vertices(): any

      Returns any

    • set vertices(v: any): void

      Parameters

      • v: any

      Returns void

    Methods

    • Parameters

      • ...curves: any[]

      Returns string[]

    • Parameters

      • ...handles: any[]

      Returns string[]

    • Parameters

      Returns this

    • Parameters

      • ...vectors: any[]

      Returns string[]

    • Applies the effects of Handle selection mode to the sibling vertex of this vKey. (Mirrored or Aligned)

      Parameters

      • vkey: any

        The Key of the reference vertex, from which the result will be copied over to its sibling (if applicable).

      Returns void

    • Parameters

      • texture: any

      Returns void

    • 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

      • time: any
      • point1: any
      • point2: any
      • point3: any
      • point4: any

      Returns { point: Vector3; tangent: Vector3 }

    • Returns OutlinerElement

    • Parameters

      • data: any

      Returns this

    • Parameters

      • axis: any
      • center: any

      Returns this

    • Parameters

      • fc: (element: OutlinerElement) => void
      • Optionalundo_tag: string
      • Optionalselection_method: "all_selected" | "all_in_group"

      Returns OutlinerElement[]

    • Returns OutlinerNode[]

    • Parameters

      • time: any
      • key: any

      Returns { point: Vector3; tangent: Vector3 }

    • Parameters

      • time: any
      • p1k: any
      • p2k: any
      • p3k: any
      • p4k: any

      Returns { point: Vector3; tangent: Vector3 }

    • Parameters

      • tangent: any
      • Optionalup: any

      Returns Vector3

    • Parameters

      • OptionalkeepDoubles: boolean

      Returns {
          accumulatedLengths: number[];
          connections: boolean[];
          lengths: number[];
          normals: Vector3[];
          pathLength: number;
          points: Vector3[];
          sizes: number[];
          tangents: Vector3[];
      }

    • Parameters

      • global: any

      Returns number[]

    • Parameters

      • hKey: any

      Returns string[]

    • Parameters

      • vKey: any

      Returns string[]

    • Returns number

    • Returns { data: any; key: string }

    • Gather control point transform data, primarily to orient the handleGizmos correctly, but also for normal transform space.

      Parameters

      • hKey: any

        Key of the handle we want the transform of.

      • Optionaleuler: any

        re-orientation Euler in case we need to re-orient the result of this to match another direction.

      Returns { c1: number[]; c2: number[]; combined: any }

    • Parameters

      • vKey: any

      Returns string

    • Returns { data: any; key: string }

    • Returns OutlinerNode[]

    • Returns {
          curves: {};
          handles: {};
          texture: string;
          type: string;
          uuid: string;
          vertices: {};
      }

    • Readonly list of selected curves, based on selected handles. See () for handle selection.

      Parameters

      • Optionalloose: any

        Tells the handle selection if it should count controls being selected without their joint. *

      Returns string[]

    • Readonly list of selected handles, based on selected vertices.

      Parameters

      • Optionalloose: any

        Tells the handle selection if it should count controls being selected without their joint. *

      Returns string[]

    • Parameters

      • make: any

      Returns any

    • Returns Euler

    • Parameters

      • axis: any
      • selection_only: any

      Returns number

    • Returns number | boolean

    • Parameters

      • shadeSmooth: any

      Returns { indices: number[]; normals: any[]; uvs: number[]; vertices: any[] }

    • Parameters

      • OptionalremoveDoubles: boolean
      • Optionalmesh: { faces: {}; vertices: {} }

      Returns { faces: {}; vertices: {} }

    • Parameters

      • flag: string

      Returns any

    • Parameters

      • Optionalaspects: {}

      Returns {
          curves: {};
          handles: {};
          texture: string;
          type: string;
          uuid: string;
          vertices: {};
      }

    • Parameters

      • ignore_mesh_selection: any

      Returns Vector3

    • 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

    • Returns boolean

    • Mark the element as selected

      Parameters

      • Optionalselect_children: boolean

      Returns this

    • Parameters

      • search_term_lowercase: string

      Returns boolean

    • Parameters

      • arr: any
      • axis: any
      • Optionalupdate: boolean

      Returns void

    • Parameters

      • data: any

      Returns this

    • Refresh the dummy face object of this spline, allowing us to paint on it, or to convert it to a Mesh.

      Returns void

    • Removes the node.

      Returns this

    • Returns this

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

      Returns this

    • Parameters

      • val: any
      • axis: any
      • negative: any
      • allow_negative: any
      • bidirectional: any

      Returns void

    • Parameters

      • axis: any
      • steps: any
      • origin_arg: any

      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 | SplineMesh

    • Parameters

      • index: any

      Returns void

    • 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

      • origin: any
      • Optionalupdate: boolean

      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

      • shade_smooth: any

      Returns void

    • Parameters

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

      Returns Deletable

    • Parameters

      • obj: any
      • Optionalkeep_uuid: boolean

      Returns OutlinerElement

    • 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

    • Parameters

      Returns void