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

x/threejs_4_deno/src/Three.js>MaterialLoader#load

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

Parameters

url: string
onLoad: (material: Material) => void
optional
onProgress: (event: ProgressEvent) => void
optional
onError: (event: Error | ErrorEvent) => void