Version: 2017.1

SubstanceImporter.SetGenerateAllOutputs

切换到手册
public void SetGenerateAllOutputs (ProceduralMaterial material, bool generated);

描述

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.