Interface: ISceneEventMap
Core-API.ISceneEventMap
Hierarchy
↳
ISceneEventMap
Properties
select
• select: Object
Type declaration
Name | Type |
---|---|
ui? | boolean |
value | Object3D <Object3DEventMap > | Material <MaterialEventMap > |
focusCamera? | boolean |
Inherited from
activateMain
• activateMain: Record
<string
, unknown
>
Inherited from
IObject3DEventMap.activateMain
setView
• setView: Record
<string
, unknown
>
Inherited from
objectUpdate
• objectUpdate: Record
<string
, unknown
>
Inherited from
IObject3DEventMap.objectUpdate
materialUpdate
• materialUpdate: Record
<string
, unknown
>
Inherited from
IObject3DEventMap.materialUpdate
textureUpdate
• textureUpdate: Record
<string
, unknown
>
Inherited from
IObject3DEventMap.textureUpdate
materialChanged
• materialChanged: Object
Type declaration
Name | Type |
---|---|
material | undefined | IMaterial <any , IMaterialEventMap > | IMaterial <any , IMaterialEventMap >[] |
mesh | Object3D <Object3DEventMap > | IModel <any , IObject3DEventMap > |
Inherited from
IObject3DEventMap.materialChanged
geometryChanged
• geometryChanged: Object
Type declaration
Name | Type |
---|---|
geometry | undefined | BufferGeometry <NormalBufferAttributes , BufferGeometryEventMap > |
Inherited from
IObject3DEventMap.geometryChanged
dispose
• dispose: Record
<string
, unknown
>
Inherited from
geometryUpdate
• geometryUpdate: Record
<string
, unknown
>
Inherited from
IObject3DEventMap.geometryUpdate
activeCameraChange
• activeCameraChange: Object
Type declaration
Name | Type |
---|---|
lastCamera | CameraController <CameraControllerEventMap > |
camera | CameraController <CameraControllerEventMap > |
renderCameraChange
• renderCameraChange: Object
Type declaration
Name | Type |
---|---|
lastCamera | Camera <Object3DEventMap > |
camera | Camera <Object3DEventMap > |
addSceneObject
• addSceneObject: Object
Type declaration
Name | Type |
---|---|
object | ITexture <any > & IUiConfigContainer <any , string > & { __importedViewerConfig? : any } & IModel <any , IObject3DEventMap > & IUiConfigContainer <any , string > & { __importedViewerConfig? : any } & ILight <any > & IUiConfigContainer <any , string > & { __importedViewerConfig? : any } & IMaterial <any , IMaterialEventMap > & IUiConfigContainer <any , string > & { __importedViewerConfig? : any } |
options | AddObjectOptions & AddModelOptions & { allImported? : any } |
sceneUpdate
• sceneUpdate: Object
Type declaration
Name | Type |
---|---|
change? | string |
sceneUpdate? | boolean |
refreshScene? | boolean |
hierarchyChanged | boolean |
geometryChanged | boolean |
sceneMaterialUpdate
• sceneMaterialUpdate: any
environmentChanged
• environmentChanged: Object
Type declaration
Name | Type |
---|---|
environment | Texture <TextureEventMap > |
backgroundChanged
• backgroundChanged: Object
Type declaration
Name | Type |
---|---|
background | Color | Texture <TextureEventMap > | "environment" |
backgroundColor | null | Color |
textureAdded
• textureAdded: Object
Type declaration
Name | Type |
---|---|
texture | ITexture <any > |
update
• update: Record
<string
, unknown
>
activeCameraUpdate
• activeCameraUpdate: Record
<string
, unknown
>
animationTimelineMarker
• animationTimelineMarker: Object
Type declaration
Name | Type |
---|---|
marker | any |