Optional
colorRGB base color of the new SceneMesh.
[1,1,1]
.ID of a SceneGeometry that was created previously with SceneModel.createGeometry or SceneModel.createGeometryCompressed.
ID for the new SceneMesh, unique within the SceneModel.
Optional
matrixOptional local 3D transform matrix.
Overrides SceneMeshParams.position, SceneMeshParams.scale, SceneMeshParams.quaternion and SceneMeshParams.rotation.
Optional
opacityOpacity of the new SceneMesh.
Default is 1.
Optional
originRelative-to-center (RTC) origin.
When this is given, then SceneMeshParams.matrix will be relative to this origin.
Optional
pickRGB pick color of the new SceneMesh.
This is used internally within SceneModel.
Optional
positionOptional local 3D translation vector.
Optional
quaternionOptional local 3D rotation quaternion.
Optional
rotationOptional local 3D rotation as Euler angles given in degrees, for each of the X, Y and Z axis.
Optional
scaleOptional local 3D scale vector.
Optional
streamTODO
Optional
textureID of a SceneTextureSet that was created previously with SceneModel.createTextureSet.
Parameters for a SceneMesh.
See @xeokit/sdk/scene for usage.