An object in a SceneModel.

See @xeokit/scene for usage.

Properties

id: string

Unique ID of this SceneObject.

SceneObjects are stored by ID in Scene.objects and SceneModel.objects.

layerId?: string

Optional layer ID for this SceneObject.

meshes: SceneMesh[]

The Meshes belonging to this SceneObject.

model: SceneModel

The SceneModel that contains this SceneObject.

originalSystemId: string

ID of this SceneObject within the originating system.

rendererObject: RendererObject

Internal interface through which a ViewObject can load property updates into a Renderer for this SceneObject.

This is defined when the owner SceneModel has been added to a Viewer.

Accessors

  • get aabb(): FloatArrayParam
  • Gets the axis-aligned 3D World-space boundary of this SceneObject.

    Returns FloatArrayParam

Methods