Type Parameters

  • OriginObject extends THREE.Object3D = THREE.Object3D

Hierarchy

  • IObject3D
    • BaseEditor

Constructors

Properties

hooks: Subscribe<{
    objectUpdate: (() => void);
}> = ...
name: string = 'IObject3D'

Optional name of the object (doesn't need to be unique).

needsRender: boolean

Methods

  • Adds object as child of this object.

    Parameters

    • Rest...objects: Object3D[]

    Returns BaseEditor<OriginObject>

  • @description: 禁用编辑器

    Returns void

  • @description: 开启编辑器

    Returns void

  • Removes object as child of this object.

    Parameters

    • Rest...objects: Object3D[]

    Returns BaseEditor<OriginObject>