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/Loader.d.ts>Loader

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

Base class for implementing loaders.

Constructors

new
Loader(manager?: LoadingManager)

Properties

crossOrigin: string
path: string
requestHeader: { [header: string]: string; }
resourcePath: string
withCredentials: boolean

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