baseUrl — The base url from which to find subsequent resources.
options — Options passed to the created material (side, wrap, normalizeRGB, ignoreZeroRGBs).
crossOrigin — The crossOrigin string to implement CORS for loading the url from a different domain that allows CORS.
url — required
onLoad — Will be called when load completes. The argument will be the loaded
MTLLoader.MaterialCreator instance.
onProgress — Will be called while load progresses. The argument will be the XmlHttpRequest instance, that contain .
total and .
loaded bytes.
onError — Will be called when load errors.