Class ShaderGraphUIBlock
The UI block that represents Shader Graph material properties. This UI block displays every non-hidden property inside a shader. You can also use this with non-shadergraph shaders.
Inherited Members
Namespace: UnityEditor .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class ShaderGraphUIBlock : MaterialUIBlock
Constructors
Name | Description |
---|---|
Shader |
Constructs a ShaderGraphUIBlock based on the parameters. |
Methods
Name | Description |
---|---|
Draw |
Draw the built-in exposed Diffusion Profile when a material uses sub-surface scattering or transmission. |
Draw |
Draws the Shadow Matte settings. This is only available for Unlit materials. |
Load |
Loads the material properties for the block. |
On |
Renders the properties in the block. |
Properties |
Draws the material properties. |