docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UnlitShaderGraphGUI

    The UI block that represents common properties for unlit Shader Graphs.

    Inheritance
    object
    ShaderGUI
    HDShaderGUI
    UnlitShaderGraphGUI
    Inherited Members
    HDShaderGUI.SetupMaterialKeywordsAndPass(Material)
    HDShaderGUI.OnGUI(MaterialEditor, MaterialProperty[])
    HDShaderGUI.OnMaterialPreviewGUI(MaterialEditor, Rect, GUIStyle)
    HDShaderGUI.OnMaterialInteractivePreviewGUI(MaterialEditor, Rect, GUIStyle)
    ShaderGUI.OnMaterialPreviewSettingsGUI(MaterialEditor)
    ShaderGUI.OnClosed(Material)
    ShaderGUI.AssignNewShaderToMaterial(Material, Shader, Shader)
    ShaderGUI.FindProperty(string, MaterialProperty[])
    ShaderGUI.FindProperty(string, MaterialProperty[], bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.HighDefinition
    Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
    Syntax
    public class UnlitShaderGraphGUI : HDShaderGUI

    Properties

    Name Description
    uiBlocks

    List of UI Blocks used to render the material inspector.

    Methods

    Name Description
    OnMaterialGUI(MaterialEditor, MaterialProperty[])

    Implement your custom GUI in this function. To display a UI similar to HDRP shaders, use a MaterialUIBlockList.

    ValidateMaterial(Material)

    Sets up the keywords and passes for the current selected material.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)