Variable iObjectCommonsConst

iObjectCommons: {
    add: ((superAdd) => ((...object) => this));
    autoCenter: (<T>(this, setDirty?) => T);
    autoScale: (<T>(this, autoScaleRadius?, isCentered?, setDirty?) => T);
    clone: ((superClone) => ((recursive?) => this));
    copy: ((superCopy) => ((source, recursive?, ...args) => this));
    dispatchEvent: ((superDispatch) => ((this, event) => void));
    dispose: ((superDispose?) => ((this, removeFromParent?) => void));
    eventCallbacks: {
        onAddedToParent: ((this, e) => void);
        onGeometryUpdate: ((this, e) => void);
        onRemovedFromParent: ((this, e) => void);
    };
    getGeometry: ((this) => undefined | IGeometry<NormalBufferAttributes>);
    getMaterial: ((this) => undefined | IMaterial<IMaterialEvent<IMaterialEventTypes>, IMaterialEventTypes> | IMaterial<IMaterialEvent<IMaterialEventTypes>, IMaterialEventTypes>[]);
    getMaterials: ((this) => IMaterial<IMaterialEvent<IMaterialEventTypes>, IMaterialEventTypes>[]);
    initGeometry: ((this) => void);
    initMaterial: ((this) => void);
    makeUiConfig: ((this, isMesh?) => UiObjectConfig);
    refreshUi: ((this) => void);
    setDirty: ((this, options?) => void);
    setGeometry: ((this, geometry) => void);
    setMaterial: ((this, material) => undefined | never[]);
    setMaterials: ((this, materials) => void);
    upgradeObject3D: ((this, parent?, objectProcessor?) => void);
} = ...

Type declaration

Generated using TypeDoc