Class BaseShaderGUI | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class BaseShaderGUI

    Inheritance
    System.Object
    BaseShaderGUI
    Namespace: UnityEditor
    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()

    DoPopup(String, MaterialProperty, String[])

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023