Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

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

SubstanceImporter.SetGenerateAllOutputs

public void SetGenerateAllOutputs(ProceduralMaterial material, bool generated);

Parameters

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.