import { Loader } from "https://deno.land/x/threejs_4_deno@v121/src/Three.js";
Base class for implementing loaders.
Constructors
new
Loader(manager?: LoadingManager)Properties
manager: LoadingManager
Methods
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<any>
setCrossOrigin(crossOrigin: string): this
setPath(path: string): this
setRequestHeader(requestHeader: { [header: string]: string; }): this
setResourcePath(resourcePath: string): this
setWithCredentials(value: boolean): this