Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ModelImporterMaterialName.BasedOnModelNameAndMaterialName

Description

Use material names in the form <modelFileName>-<materialName>.mat.

Material names will be accepted in the form <modelFileName>-<materialName>.mat when searching for existing materials or creating new ones.

See Also: ModelImporter.materialName.