Skip to main content

loadError

An event that fires when the 3D model fails to load / parse.

PropertyTypeDescription
typestringThe type of event
targetView3DAn instance of View3D that triggered this event
levelnumberA level of model when loading multiple models at once, an integer starting from 0
maxLevelnumberMaximum level of models loading
errorErrorAn actual error instance that throwed when loading/parsing the model
Load 3D model
Events Triggered
{
src: "/egjs-view3d/model/NOT_A_MODEL.glb",
poster: "/egjs-view3d/poster/alarm_default.png"
}