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