class ObjectLoader
extends Loader
import { ObjectLoader } from "https://deno.land/x/threejs_4_deno@v121/src/Three.d.ts";
Constructors
new
ObjectLoader(manager?: LoadingManager)Methods
load(): void
url: string,
onLoad?: <ObjectType extends Object3D>(object: ObjectType) => void,
onProgress?: (event: ProgressEvent) => void,
onError?: (event: Error | ErrorEvent) => void,
parseAnimations(json: any): AnimationClip[]
parseGeometries(json: any): any[]
parseImages(json: any, onLoad: () => void): { [key: string]: HTMLImageElement; }
parseMaterials(json: any, textures: Texture[]): Material[]
parseObject<T extends Object3D>(): T
parseTextures(json: any, images: any): Texture[]