Methods
loadAsync
- loadAsync(url, onProgress?): Promise<any>
Parameters
url: string
Optional
onProgress: ((event) => void)
- (event): void
Parameters
event: ProgressEvent<EventTarget>
Returns void
Returns Promise<any>
Optional
transform
- transform(res, options): T2 | Promise<T2>
Returns T2 | Promise<T2>
Transform after load, like convert geometry to mesh, etc. for reference see DRACOLoader2 or PLYLoadPlugin