Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

ModelImporterMaterialName

enumeration

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.