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

Description

Material naming options for ModelImporter.

See Also: ModelImporter.materialName.

Variables

BasedOnTextureNameUse material names in the form <textureName>.mat.
BasedOnMaterialNameUse a material name of the form <materialName>.mat.
BasedOnModelNameAndMaterialNameUse material names in the form <modelFileName>-<materialName>.mat.