Set base path for resolving texture references. If set this path will be prepended found texture reference. If not set and setPath is, it will be used as texture base path.
Set base path for additional resources like textures. If set, this path will be used as the base path.
console.warn('THREE.MTLLoader: .setBaseUrl() is deprecated. Use .setTexturePath( path ) for texture path or .setPath( path ) for general base path instead.');
returnthis.setTexturePath(path);
console.warn('THREE.MTLLoader: .setTexturePath() has been renamed to .setResourcePath().');