Variable iObjectCommonsConst
iObjectCommons: { add: ( superAdd: (...object: Object3D[]) => this, ) => (...object: Object3D[]) => this; autoCenter: <T extends IObject3D>( this: T, setDirty?: boolean, undo?: boolean, ) => T; autoScale: <T extends IObject3D>( this: T, autoScaleRadius?: number, isCentered?: boolean, setDirty?: boolean, undo?: boolean, ) => T; clone: ( superClone: (recursive?: boolean) => this, ) => (recursive?: boolean) => this; copy: ( superCopy: (source: this, recursive?: boolean, ...args: any[]) => this, ) => (source: this, recursive?: boolean, ...args: any[]) => this; dispatchEvent: ( superDispatch: (event: IObject3DEvent & { [a: string]: any }) => void, ) => (this: IObject3D, event: IObject3DEvent) => void; dispose: ( superDispose?: (removeFromParent?: boolean) => void, ) => (this: IObject3D, removeFromParent?: boolean) => void; eventCallbacks: { onAddedToParent: (this: IObject3D, e: Event) => void; onGeometryUpdate: ( this: IObject3D, e: IGeometryEvent<"geometryUpdate">, ) => void; onRemovedFromParent: (this: IObject3D, e: Event) => void; }; getGeometry: (this: IObject3D & Mesh) => undefined | IGeometry; getMaterial: (this: IObject3D) => undefined | IMaterial | IMaterial[]; getMaterials: (this: IObject3D) => IMaterial[]; initGeometry: (this: IObject3D) => void; initMaterial: (this: IObject3D) => void; makeUiConfig: (this: IObject3D, isMesh?: boolean) => UiObjectConfig; pivotToBoundsCenter: <T extends IObject3D>( this: T, setDirty?: boolean, ) => () => void; pivotToPoint: <T extends IObject3D>( this: T, point: Vector3, setDirty?: boolean, ) => () => void; refreshUi: (this: IObject3D) => void; setDirty: ( this: IObject3D, options?: IObjectSetDirtyOptions, ...args: any[], ) => void; setGeometry: ( this: IObject3D & Mesh, geometry: undefined | IGeometry, ) => void; setMaterial: ( this: IObject3D, material: undefined | IMaterial | IMaterial[], ) => undefined | never[]; setMaterials: (this: IObject3D, materials: IMaterial[]) => void; upgradeObject3D: ( this: IObject3D, parent?: IObject3D, objectProcessor?: IObjectProcessor, ) => void;} = ... Type declaration
add: (superAdd: (...object: Object3D[]) => this) => (...object: Object3D[]) => this
autoCenter: <T extends IObject3D>(this: T, setDirty?: boolean, undo?: boolean) => T
autoScale: <T extends IObject3D>(
this: T,
autoScaleRadius?: number,
isCentered?: boolean,
setDirty?: boolean,
undo?: boolean,
) => T
clone: (superClone: (recursive?: boolean) => this) => (recursive?: boolean) => this
copy: (
superCopy: (source: this, recursive?: boolean, ...args: any[]) => this,
) => (source: this, recursive?: boolean, ...args: any[]) => this
dispatchEvent: (
superDispatch: (event: IObject3DEvent & { [a: string]: any }) => void,
) => (this: IObject3D, event: IObject3DEvent) => void
dispose: (
superDispose?: (removeFromParent?: boolean) => void,
) => (this: IObject3D, removeFromParent?: boolean) => void
eventCallbacks: {
onAddedToParent: (this: IObject3D, e: Event) => void;
onGeometryUpdate: (
this: IObject3D,
e: IGeometryEvent<"geometryUpdate">,
) => void;
onRemovedFromParent: (this: IObject3D, e: Event) => void;
}
initGeometry: (this: IObject3D) => void
initMaterial: (this: IObject3D) => void
pivotToBoundsCenter: <T extends IObject3D>(this: T, setDirty?: boolean) => () => void
pivotToPoint: <T extends IObject3D>(this: T, point: Vector3, setDirty?: boolean) => () => void
refreshUi: (this: IObject3D) => void
setGeometry: (this: IObject3D & Mesh, geometry: undefined | IGeometry) => void
setMaterial: (
this: IObject3D,
material: undefined | IMaterial | IMaterial[],
) => undefined | never[]
setMaterials: (this: IObject3D, materials: IMaterial[]) => void