Method OnMaterialGUI
OnMaterialGUI(MaterialEditor, MaterialProperty[])
Implement your custom GUI in this function. To display a UI similar to HDRP shaders, use a MaterialUIBlockList.
Declaration
protected abstract void OnMaterialGUI(MaterialEditor materialEditor, MaterialProperty[] props)
Parameters
Type | Name | Description |
---|---|---|
MaterialEditor | materialEditor | The current material editor. |
MaterialProperty[] | props | The list of properties in the inspected material(s). |