Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

SubstanceImporter.SetGenerateAllOutputs

Switch to Manual
public function SetGenerateAllOutputs(material: ProceduralMaterial, generated: bool): void;

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.