GLTFViewerEventMap
GLTFViewerEventMap: { loadError: any; loaded: any; progressing: any; stateChange: any; willLoad: any }
Type declaration
loadError:function
- loadError(error: ErrorEvent): void
loaded:function
- loaded(gltf: GLTF, scene: Scene, renderer: WebGLRenderer): void
Parameters
gltf: GLTF
scene: Scene
renderer: WebGLRenderer
Returns void
progressing:function
- progressing(progressing: number): void
stateChange:function
willLoad:function
异步事件。