Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MTLLoaderMaterialCreator

Material creator

Hierarchy

  • MTLLoaderMaterialCreator

Index

Constructors

constructor

Properties

baseUrl

baseUrl: string

crossOrigin

crossOrigin: string

materials

materials: {}

Type declaration

materialsInfo

materialsInfo: {}

Type declaration

nameLookup

nameLookup: {}

Type declaration

  • [key: string]: number

options

side

side: Side

wrap

wrap: Wrapping

Methods

convert

  • convert(materialsInfo: {}): {}

create

createMaterial_

getAsArray

getIndex

  • getIndex(materialName: string): number

getTextureParams

  • getTextureParams(value: string, matParams: any): TexParams

loadTexture

  • loadTexture(url: string, mapping?: Mapping, onLoad?: (bufferGeometry: I3JS.BufferGeometry) => void, onProgress?: (event: ProgressEvent<EventTarget>) => void, onError?: (event: ErrorEvent) => void): I3JS.Texture

preload

  • preload(): void

setCrossOrigin

setManager

setMaterials

  • setMaterials(materialsInfo: {}): void

Generated using TypeDoc