docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LitGUI

    Editor script for the Lit material inspector.

    Inheritance
    object
    LitGUI
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.Universal.ShaderGUI
    Assembly: Unity.RenderPipelines.Universal.Editor.dll
    Syntax
    public static class LitGUI

    Methods

    Name Description
    DoClearCoat(LitProperties, MaterialEditor, Material)

    Draws the clear coat GUI.

    DoMetallicSpecularArea(LitProperties, MaterialEditor, Material)

    Draws the metallic/specular area GUI.

    DoSmoothness(MaterialEditor, Material, MaterialProperty, MaterialProperty, string[])

    Draws the smoothness GUI.

    GetSmoothnessMapChannel(Material)

    Retrieves the alpha channel used for smoothness.

    Inputs(LitProperties, MaterialEditor, Material)

    Draws the surface inputs GUI.

    SetMaterialKeywords(Material)

    Sets up the keywords for the Lit shader and 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)