Readonly
geometry@xeokit/scene!SceneGeometry used by this SceneMesh.
Readonly
idUnique ID of this SceneMesh.
SceneMesh is stored by this ID in @xeokit/scene!SceneModel.meshes.
The @xeokit/scene!SceneObject that uses this SceneMesh.
Readonly
originInternal
rendererInternal interface through which a @xeokit/scene!SceneMesh can load property updates into a renderers.
This is defined when the owner SceneModel has been added to a Viewer.
TODO
Optional
Readonly
texture@xeokit/scene!SceneTextureSet used by this SceneMesh.
Readonly
tile@xeokit/scene!SceneTile 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 JSON.
A mesh in a SceneModel.
See @xeokit/scene for usage.