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
add: ((superAdd) => ((...object) => this))
- (superAdd): ((...object) => this)
Parameters
superAdd: ((...object) => this)
- (...object): this
Returns this
Returns ((...object) => this)
- (...object): this
Returns this
autoCenter: (<T>(this, setDirty?) => T)
- <T>(this, setDirty?): T
Parameters
this: T
setDirty: boolean = true
Returns T
autoScale: (<T>(this, autoScaleRadius?, isCentered?, setDirty?) => T)
- <T>(this, autoScaleRadius?, isCentered?, setDirty?): T
Parameters
this: T
Optional
autoScaleRadius: number
Optional
isCentered: boolean
setDirty: boolean = true
Returns T
clone: ((superClone) => ((recursive?) => this))
- (superClone): ((recursive?) => this)
Parameters
superClone: ((recursive?) => this)
- (recursive?): this
Parameters
Optional
recursive: boolean
Returns this
Returns ((recursive?) => this)
- (recursive?): this
Parameters
Optional
recursive: boolean
Returns this
copy: ((superCopy) => ((source, recursive?, ...args) => this))
- (superCopy): ((source, recursive?, ...args) => this)
Parameters
superCopy: ((source, recursive?, ...args) => this)
- (source, recursive?, ...args): this
Parameters
source: this
Optional
recursive: boolean
Rest
...args: any[]
Returns this
Returns ((source, recursive?, ...args) => this)
- (source, recursive?, ...args): this
Parameters
source: this
Optional
recursive: boolean
Rest
...args: any[]
Returns this
dispatchEvent: ((superDispatch) => ((this, event) => void))
- (superDispatch): ((this, event) => void)
Parameters
superDispatch: ((event) => void)
- (event): void
Returns void
Returns ((this, event) => void)
- (this, event): void
Returns void
dispose: ((superDispose?) => ((this, removeFromParent?) => void))
- (superDispose?): ((this, removeFromParent?) => void)
Parameters
Optional
superDispose: ((removeFromParent?) => void)
- (removeFromParent?): void
Parameters
Optional
removeFromParent: boolean
Returns void
Returns ((this, removeFromParent?) => void)
- (this, removeFromParent?): void
Parameters
removeFromParent: boolean = true
Returns void
eventCallbacks: {
onAddedToParent: ((this, e) => void);
onGeometryUpdate: ((this, e) => void);
onRemovedFromParent: ((this, e) => void);
}
onAddedToParent: ((this, e) => void)
- (this, e): void
Returns void
onGeometryUpdate: ((this, e) => void)
- (this, e): void
Returns void
onRemovedFromParent: ((this, e) => void)
- (this, e): void
Returns void
initGeometry: ((this) => void)
initMaterial: ((this) => void)
makeUiConfig: ((this, isMesh?) => UiObjectConfig)
refreshUi: ((this) => void)
setDirty: ((this, options?) => void)
- (this, options?): void
Returns void
setGeometry: ((this, geometry) => void)
- (this, geometry): void
Returns void
setMaterial: ((this, material) => undefined | never[])
- (this, material): undefined | never[]
Returns undefined | never[]
setMaterials: ((this, materials) => void)
- (this, materials): void
Returns void
upgradeObject3D: ((this, parent?, objectProcessor?) => void)
- (this, parent?, objectProcessor?): void
Returns void
Fire an event type.