Optional
geometriesParameters for SceneGeometries in the SceneModel.
Optional
geometriesCompressed parameters for SceneGeometries in the SceneModel.
Optional
globalizedWhether IDs of the SceneObjects are globalized.
When globalized, the IDs are prefixed with the value of SceneModel.id
Default is false
.
Unique ID for the SceneModel.
The SceneModel is stored with this ID in Scene.models
Optional
layerIf we want to view the SceneModel with a Viewer, an optional ID of the ViewLayer to view the SceneModel in.
Will be "default" by default.
Overrides SceneObjectParams.layerId.
Optional
matrix4x4 transform matrix.
Optional
meshesParameters for SceneMeshes in the SceneModel.
Optional
objectsParameters for SceneObjects in the SceneModel.
Optional
positionWorld-space position of the SceneModel.
Optional
quaternionQuaternion defining the orientation of the SceneModel.
Optional
retainedWhether this SceneModel retains its SceneObjects, SceneMeshes, SceneGeometries etc. after we call SceneModel.build.
Default value is true
.
Optional
rotationOrientation of the SceneModel, given as Euler angles in degrees for X, Y and Z axis.
Optional
scaleScale of the SceneModel.
Default is [1,1,1]
.
Optional
streamIndicates what renderer resources will need to be allocated in a Viewer's Renderer to support progressive loading for a SceneModel.
Optional
texturesParameters for SceneTextures in the SceneModel.
Optional
textureParameters for SceneTextureSets in the SceneModel.
Parameters for a SceneModel.
See @xeokit/sdk/scene for usage.