Method SetDiffusionProfileShaderGraph
SetDiffusionProfileShaderGraph(Material, DiffusionProfileSettings, string)
Set a Diffusion profile on a Shader Graph material.
Declaration
public static void SetDiffusionProfileShaderGraph(Material material, DiffusionProfileSettings profile, string referenceName)
Parameters
| Type | Name | Description |
|---|---|---|
| Material | material | The material to change. |
| DiffusionProfileSettings | profile | The Diffusion Profile Asset. |
| string | referenceName | The reference name of the Diffusion Profile property in the Shader Graph. |