(
url: string,
onLoad?: (decoded: PackedSplats | ExtSplats) => void,
onProgress?: (event: ProgressEvent) => void,
onError?: (error: unknown) => void,
)
| 24 | } |
| 25 | |
| 26 | load( |
| 27 | url: string, |
| 28 | onLoad?: (decoded: PackedSplats | ExtSplats) => void, |
| 29 | onProgress?: (event: ProgressEvent) => void, |
| 30 | onError?: (error: unknown) => void, |
| 31 | ) { |
| 32 | return this.loadInternal({ |
| 33 | url, |
| 34 | onLoad, |
| 35 | onProgress, |
| 36 | onError, |
| 37 | }); |
| 38 | } |
| 39 | |
| 40 | async loadAsync( |
| 41 | url: string, |
no test coverage detected