ReadonlycoordinateConfigures the Scene's coordinate system.
True once this Component has been destroyed.
Don't use this Component if this is true.
ProtecteddirtyUnique ID of this Component.
ReadonlymodelsThe SceneModels belonging to this Scene, each keyed to its SceneModel.id.
ReadonlyobjectsThe SceneObjects in this Scene, mapped to SceneObject.id.
ReadonlytilesThe SceneTiles in this Scene.
Gets the collective World-space 3D axis-aligned boundary of all the SceneModels in this Scene.
The boundary will be of the form [xMin, yMin, zMin, xMax, yMax, zMax].
Gets the collective World-space 3D center of all the SceneModels in this Scene.
ProtectedcleanForces this component to action any deferred state updates.
ProtectedcleanGives this component an opportunity to action any defered state updates.
Destroys all contained SceneModels.
See @xeokit/sdk/scene for usage.
void
Creates a new SceneModel in this Scene.
Remember to call SceneModel.build when you've finished building or loading the SceneModel. That will fire events via Scene.onModelCreated and SceneModel.onBuilt, to indicate to any subscribers that the SceneModel is built and ready for use.
See @xeokit/sdk/scene for more details on usage.
Creation parameters for the new SceneModel.
Destroys this Scene and all contained SceneModels.
See @xeokit/sdk/scene for usage.
void
ProtectederrorProtectedLogs an error for this component to the JavaScript console.
The console message will have this format: [ERROR] [<component type> =<component id>: <message>
The error message to log
ProtectedlogProtectedLogs a message for this component.
The message will have this format: [LOG] [<component type> <component id>: <message>
The message to log
ProtectedsetFlags this component as having a defered state updates it needs to perform.
ProtectedwarnProtectedLogs a warning for this component to the JavaScript console.
The console message will have this format: [WARN] [<component type> =<component id>: <message>
The warning message to log
Emits an event when the Component has been destroyed.
ReadonlyonEmits an event each time a SceneModel is created in this Scene.
ReadonlyonEmits an event each time a SceneModel is destroyed in this Scene.
ReadonlyonEmits an event each time a SceneTile is created in this Scene.
ReadonlyonEmits an event each time a SceneTile is destroyed in this Scene.
Container of model geometry and materials.
A Scene contains SceneModels, SceneObjects, SceneMeshes, SceneGeometries, SceneTextureSets and SceneTextures.
See @xeokit/sdk/scene for usage.