ModelImporterMaterialName.BasedOnTextureName

ModelImporterMaterialName.BasedOnTextureName

Description

.mat material name.

Name materials .mat (i.e. diffuse texture name of imported material) when searching for existing or creating new materials. If imported material doesn't have a diffuse texture assigned then material will be named .mat instead.

See Also: ModelImporter.materialName