public SetGenerateAllOutputs ( |
||
material | ||
generated | bool | |
Результат | void |
public void SetGenerateAllOutputs(ProceduralMaterial material, bool generated)
{
if (material == null)
{
throw new ArgumentException("Invalid ProceduralMaterial");
}
ScriptingProceduralMaterialInformation materialInformation = this.GetMaterialInformation(material);
materialInformation.generateAllOutputs = generated;
this.SetMaterialInformation(material, materialInformation);
}