True once this Component has been destroyed.
Don't use this Component if this is true
.
Protected
dirtyUnique ID of this Component.
Readonly
modelsThe SceneModels belonging to this Scene, each keyed to its SceneModel.id.
Readonly
objectsThe SceneObjects in this Scene, mapped to SceneObject.id.
Readonly
tilesThe @xeokit/scene!SceneTile | Tiles 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.
Protected
cleanProtected
cleanDestroys all contained SceneModels.
See @xeokit/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/scene for more details on usage.
Creation parameters for the new SceneModel.
Destroys this Scene and all contained SceneModels.
See @xeokit/scene for usage.
void
Protected
errorProtected
logProtected
setProtected
warnEmits an event when the Component has been destroyed.
Readonly
onEmits an event each time a SceneModel is created in this Scene.
Readonly
onEmits an event each time a SceneModel is destroyed in this Scene.
Readonly
onEmits an event each time a @xeokit/scene!SceneTile is created in this Scene.
Readonly
onEmits an event each time a @xeokit/scene!SceneTile | SceneTile is destroyed in this Scene.
Container of model geometry and materials.
A Scene contains SceneModels, SceneObjects, SceneMeshes, SceneGeometries, SceneTextureSets and SceneTextures.
See @xeokit/scene for usage.