Skip to main content

load

An event that fires when the 3D model is loaded but not displayed yet.

PropertyTypeDescription
typestringThe type of event
targetView3DAn instance of View3D that triggered this event
modelModelA new model that loaded
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/draco/alarm.glb",
poster: "/egjs-view3d/poster/alarm_default.png"
}