Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

SubstanceImporter.CloneMaterial

public function CloneMaterial(material: ProceduralMaterial): string;

Description

Clone an existing ProceduralMaterial instance.

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