Class BaseShaderGUI
The base class for shader GUI in URP.
Inherited Members
Namespace: UnityEditor
Assembly: Unity.RenderPipelines.Universal.Editor.dll
Syntax
public abstract class BaseShaderGUI : ShaderGUI
Fields
Name | Description |
---|---|
m_FirstTimeApply | Used to sure that needed setup (ie keywords/render queue) are set up when switching some existing material to a universal shader. |
Properties
Name | Description |
---|---|
alphaClipProp | The MaterialProperty for alpha clip. |
alphaCutoffProp | The MaterialProperty for alpha cutoff. |
baseColorProp | The MaterialProperty for base color. |
baseMapProp | The MaterialProperty for base map. |
blendModeProp | The MaterialProperty for the blend mode. |
castShadowsProp | The MaterialProperty for cast shadows. |
cullingProp | The MaterialProperty for cull mode. |
emissionColorProp | The MaterialProperty for emission color. |
emissionMapProp | The MaterialProperty for emission map. |
materialEditor | The editor for the material. |
materialFilter | Filter for the surface options, surface inputs, details and advanced foldouts. |
preserveSpecProp | The MaterialProperty for preserve specular. |
queueControlProp | The MaterialProperty for queue control. |
queueOffsetProp | The MaterialProperty for queue offset. |
receiveShadowsProp | The MaterialProperty for receive shadows. |
surfaceTypeProp | The MaterialProperty for surface type. |
ztestProp | The MaterialProperty for zTest. |
zwriteProp | The MaterialProperty for zWrite. |