Class MaterialUIBlock
Base implementation of a material GUI block to be disabled in the material inspector.
Inherited Members
Namespace: UnityEditor .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public abstract class MaterialUIBlock
Constructors
Name | Description |
---|---|
Material |
Default Constructor, you must override the method OnGUI |
Fields
Name | Description |
---|---|
material |
The current material editor. |
materials | The list of selected materials to edit. |
parent | Parent of the UI block. |
properties | The list of available properties in the selected materials. |
Properties
Name | Description |
---|---|
expandable |
The Material |
header | The GUIContent used as header of the block |
is |
Property that specifies if the scope is a subheader |
show |
If the section should be shown |
Methods
Name | Description |
---|---|
Find |
Find a material property in the list of available properties. |
Find |
Find a material property with layering option |
Load |
Loads the material properties for the block. |
On |
Renders the properties in the block. |
On |
GUI callback when the header is open |