Supported Parameters
īģŋ
Name | Description | Default value |
---|---|---|
path | The path to the streamable asset. | './model.sxrweb' |
useAlpha | Enable semi-transparent materials | false |
useMetalRoughness | Use PBR shading. Can be set to false if you want flat shading for e.g. photogrammetry models. | true |
castShadows | If true, this model will cast shadows for lights that have shadow casting enabled. | true |
castLightmapShadows | If true, this model will cast shadows when rendering lightmaps. | true |
receiveShadows | If true, shadows will be cast on this model. | true |
quality | A number for adjusting the quality level (and bandwidth requirement). Can be any number, but should normally be between 0 and 3. Reference:  - 0 = low quality  - 1 = medium quality - 2 = high quality - > 2 higher quality. | 1.0 |
camera | View Camera or Player camera, preferably with controls. You will see the scene from this camera and Model Quality will be changed based on the distance to this camera | null |