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

SetGenerateAllOutputs(material: ProceduralMaterial, generated: bool): void;
void SetGenerateAllOutputs(ProceduralMaterial material, bool generated);
def SetGenerateAllOutputs(material as ProceduralMaterial, generated as bool) as void

Description

Specify if the ProceduralMaterial needs to force generation of all its outputs.

If enabled, the ProceduralMaterial will generate all its outputs. If disabled, the ProceduralMaterial will generate only the outputs required by the shader.