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.CloneMaterial

CloneMaterial(material: ProceduralMaterial): string;
string CloneMaterial(ProceduralMaterial material);
def CloneMaterial(material as ProceduralMaterial) as string

Description

Clone an existing ProceduralMaterial instance.

NOTE: This requires a re-import to actually create the new instance !