Class SimpleLitGUI
Editor script for the SimpleLit material inspector.
Inherited Members
Namespace: UnityEditor.Rendering.Universal.ShaderGUI
Syntax
public static class SimpleLitGUI
Methods
Advanced(SimpleLitGUI.SimpleLitProperties)
Draws the advanced GUI.
Declaration
public static void Advanced(SimpleLitGUI.SimpleLitProperties properties)
Parameters
Type | Name | Description |
---|---|---|
SimpleLitGUI.SimpleLitProperties | properties |
DoSpecularArea(SimpleLitGUI.SimpleLitProperties, MaterialEditor, Material)
Draws the specular area GUI.
Declaration
public static void DoSpecularArea(SimpleLitGUI.SimpleLitProperties properties, MaterialEditor materialEditor, Material material)
Parameters
Type | Name | Description |
---|---|---|
SimpleLitGUI.SimpleLitProperties | properties | |
MaterialEditor | materialEditor | |
Material | material | The material to use. |
Inputs(SimpleLitGUI.SimpleLitProperties, MaterialEditor, Material)
Draws the surface inputs GUI.
Declaration
public static void Inputs(SimpleLitGUI.SimpleLitProperties properties, MaterialEditor materialEditor, Material material)
Parameters
Type | Name | Description |
---|---|---|
SimpleLitGUI.SimpleLitProperties | properties | |
MaterialEditor | materialEditor | |
Material | material | The material to use. |
SetMaterialKeywords(Material)
Sets up the keywords for the material and shader.
Declaration
public static void SetMaterialKeywords(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material to use. |