{}!Google Tag Manager end}} Class SimpleLitGUI | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    Class SimpleLitGUI

    Editor script for the SimpleLit material inspector.

    Inheritance
    Object
    SimpleLitGUI
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering.Universal.ShaderGUI
    Syntax
    public static class SimpleLitGUI

    Methods

    Advanced(SimpleLitGUI.SimpleLitProperties)

    Draws the advanced GUI.

    Declaration
    public static void Advanced(SimpleLitGUI.SimpleLitProperties properties)
    Parameters
    Type Name Description
    SimpleLitGUI.SimpleLitProperties properties

    DoSpecularArea(SimpleLitGUI.SimpleLitProperties, MaterialEditor, Material)

    Draws the specular area GUI.

    Declaration
    public static void DoSpecularArea(SimpleLitGUI.SimpleLitProperties properties, MaterialEditor materialEditor, Material material)
    Parameters
    Type Name Description
    SimpleLitGUI.SimpleLitProperties properties
    MaterialEditor materialEditor
    Material material

    The material to use.

    Inputs(SimpleLitGUI.SimpleLitProperties, MaterialEditor, Material)

    Draws the surface inputs GUI.

    Declaration
    public static void Inputs(SimpleLitGUI.SimpleLitProperties properties, MaterialEditor materialEditor, Material material)
    Parameters
    Type Name Description
    SimpleLitGUI.SimpleLitProperties properties
    MaterialEditor materialEditor
    Material material

    The material to use.

    SetMaterialKeywords(Material)

    Sets up the keywords for the material and shader.

    Declaration
    public static void SetMaterialKeywords(Material material)
    Parameters
    Type Name Description
    Material material

    The material to use.

    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)