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.

SubstanceImporter.RenameMaterial

RenameMaterial(material: ProceduralMaterial, name: string): bool;
bool RenameMaterial(ProceduralMaterial material, string name);
def RenameMaterial(material as ProceduralMaterial, name as string) as bool

Description

Rename an existing ProceduralMaterial instance.