Skip to main content

loadStart

An event that fires before loading a 3D model.

PropertyTypeDescription
typestringThe type of event
targetView3DAn instance of View3D that triggered this event
modelModelA new model that loaded
srcstringA source URL of the model to load
levelnumberA level of model when loading multiple models at once, an integer starting from 0
maxLevelnumberMaximum level of models loading
Load 3D model
Events Triggered
{
src: [
"/egjs-view3d/model/lod/plant/simplified.gltf",
"/egjs-view3d/model/draco/plant.glb"
],
poster: "/egjs-view3d/poster/plant.png"
}