Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/loaders/ObjectLoader.d.ts>ObjectLoader#load

A simple transformation of three.js for use within a Deno workflow
Go to Latest
method ObjectLoader.prototype.load
import { ObjectLoader } from "https://deno.land/x/threejs_4_deno@v121/src/loaders/ObjectLoader.d.ts";

Parameters

url: string
optional
onLoad: <ObjectType extends Object3D>(object: ObjectType) => void
optional
onProgress: (event: ProgressEvent) => void
optional
onError: (event: Error | ErrorEvent) => void