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

x/remapper/src/deps.ts>three.MaterialLoader

A framework for Beat Saber map scripting.
Go to Latest
class three.MaterialLoader
extends Loader
import { three } from "https://deno.land/x/remapper@2.1.0/src/deps.ts";
const { MaterialLoader } = three;

Constructors

new
MaterialLoader(manager?: LoadingManager)

Properties

textures: { [key: string]: Texture; }

Methods

load(
url: string,
onLoad: (material: Material) => void,
onProgress?: (event: ProgressEvent) => void,
onError?: (event: Error | ErrorEvent) => void,
): void
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Material>
parse(json: any): Material
setTextures(textures: { [key: string]: Texture; }): this