UNPKG

@types/three

Version:
22 lines (15 loc) 586 B
import { Material } from "../materials/Material.js"; import { Texture } from "../textures/Texture.js"; import { Loader } from "./Loader.js"; import { LoadingManager } from "./LoadingManager.js"; export class MaterialLoader extends Loader<Material> { /** * @default {} */ textures: { [key: string]: Texture }; constructor(manager?: LoadingManager); parse(json: unknown): Material; setTextures(textures: { [key: string]: Texture }): this; createMaterialFromType(type: string): Material; static createMaterialFromType(type: string): Material; }