Loads a Wavefront .mtl file specifying materials
Loads and parses a MTL asset from a URL.
URL to the MTL file.
Optional
Callback invoked with the loaded object.
Callback for download progress.
Callback for download errors.
setPath setResourcePath
In order for relative texture references to resolve correctly you must call setResourcePath() explicitly prior to load.
Parses a MTL file.
Content of MTL file
In order for relative texture references to resolve correctly you must call setResourcePath() explicitly prior to parse.
Loads a Wavefront .mtl file specifying materials