loadError
An event that fires when the 3D model fails to load / parse.
Property | Type | Description |
---|---|---|
type | string | The type of event |
target | View3D | An instance of View3D that triggered this event |
level | number | A level of model when loading multiple models at once, an integer starting from 0 |
maxLevel | number | Maximum level of models loading |
error | Error | An actual error instance that throwed when loading/parsing the model |
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/NOT_A_MODEL.glb",
poster: "/egjs-view3d/poster/alarm_default.png"
}