Class BaseShaderGUI
Inheritance
System.Object
BaseShaderGUI
Syntax
public abstract class BaseShaderGUI : ShaderGUI
Properties
alphaClipProp
Declaration
protected MaterialProperty alphaClipProp { get; set; }
Property Value
Type |
Description |
MaterialProperty |
|
alphaCutoffProp
Declaration
protected MaterialProperty alphaCutoffProp { get; set; }
Property Value
Type |
Description |
MaterialProperty |
|
blendModeProp
Declaration
protected MaterialProperty blendModeProp { get; set; }
Property Value
Type |
Description |
MaterialProperty |
|
cullingProp
Declaration
protected MaterialProperty cullingProp { get; set; }
Property Value
Type |
Description |
MaterialProperty |
|
materialEditor
Declaration
protected MaterialEditor materialEditor { get; set; }
Property Value
Type |
Description |
MaterialEditor |
|
receiveShadowsProp
Declaration
protected MaterialProperty receiveShadowsProp { get; set; }
Property Value
Type |
Description |
MaterialProperty |
|
surfaceTypeProp
Declaration
protected MaterialProperty surfaceTypeProp { get; set; }
Property Value
Type |
Description |
MaterialProperty |
|
Methods
DoMaterialRenderingOptions()
Declaration
protected void DoMaterialRenderingOptions()
Declaration
protected void DoPopup(string label, MaterialProperty property, string[] options)
Parameters
Type |
Name |
Description |
System.String |
label |
|
MaterialProperty |
property |
|
System.String[] |
options |
|
FindProperties(MaterialProperty[])
Declaration
public virtual void FindProperties(MaterialProperty[] properties)
Parameters
Type |
Name |
Description |
MaterialProperty[] |
properties |
|
MaterialChanged(Material)
Declaration
public abstract void MaterialChanged(Material material)
Parameters
Type |
Name |
Description |
Material |
material |
|
OnGUI(MaterialEditor, MaterialProperty[])
Declaration
public override void OnGUI(MaterialEditor materialEditorIn, MaterialProperty[] properties)
Parameters
Type |
Name |
Description |
MaterialEditor |
materialEditorIn |
|
MaterialProperty[] |
properties |
|
SetupMaterialBlendMode(Material)
Declaration
public static void SetupMaterialBlendMode(Material material)
Parameters
Type |
Name |
Description |
Material |
material |
|
ShaderPropertiesGUI(Material)
Declaration
public virtual void ShaderPropertiesGUI(Material material)
Parameters
Type |
Name |
Description |
Material |
material |
|