Readonly
geometrySceneGeometry used by this SceneMesh.
Readonly
idUnique ID of this SceneMesh.
SceneMesh is stored by this ID in SceneModel.meshes.
The SceneObject that uses this SceneMesh.
Readonly
originInternal
rendererInternal interface through which a SceneMesh can load property updates into a renderers.
This is defined when the owner SceneModel has been added to a Viewer.
TODO
Optional
Readonly
textureSceneTextureSet used by this SceneMesh.
Readonly
tileSceneTile this SceneMesh belongs to.
Gets the World-space AABB of this SceneMesh.
Gets the RGB color for this SceneMesh.
Each element of the color is in range [0..1]
.
Sets the RGB color for this SceneMesh.
Each element of the color is in range [0..1]
.
Gets this SceneMesh's local modeling transform matrix.
Default value is [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
.
Updates this SceneMesh's local modeling transform matrix.
Default value is [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
.
Gets the opacity factor for this SceneMesh.
This is a factor in range [0..1]
.
Sets the opacity factor for this SceneMesh.
This is a factor in range [0..1]
.
Internal
Gets this SceneMesh's RTC modeling transform matrix.
Default value is [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]
.
Gets this SceneMesh as SceneMeshParams.
A mesh in a SceneModel.
See @xeokit/sdk/scene for usage.