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

OnShaderModified(material: ProceduralMaterial): void;
void OnShaderModified(ProceduralMaterial material);
def OnShaderModified(material as ProceduralMaterial) as void

Description

After modifying the shader of a ProceduralMaterial, call this function to apply the changes to the importer.