docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DetailInputsUIBlock

    The UI block that represents detail inputs for materials.

    Inheritance
    object
    MaterialUIBlock
    DetailInputsUIBlock
    Inherited Members
    MaterialUIBlock.expandableBit
    MaterialUIBlock.header
    MaterialUIBlock.materialEditor
    MaterialUIBlock.materials
    MaterialUIBlock.properties
    MaterialUIBlock.parent
    MaterialUIBlock.FindProperty(string, bool)
    MaterialUIBlock.FindPropertyLayered(string, int, bool)
    MaterialUIBlock.OnGUI()
    MaterialUIBlock.showSection
    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 DetailInputsUIBlock : MaterialUIBlock

    Constructors

    DetailInputsUIBlock(ExpandableBit, int, int, Features)

    Constructs a DetailInputsUIBlock base on the parameters.

    Declaration
    public DetailInputsUIBlock(MaterialUIBlock.ExpandableBit expandableBit, int layerCount = 1, int layerIndex = 0, DetailInputsUIBlock.Features features = Features.All)
    Parameters
    Type Name Description
    MaterialUIBlock.ExpandableBit expandableBit

    Bit index to store the foldout state.

    int layerCount

    Number of layers in the shader.

    int layerIndex

    Current layer index to display. 0 if it's not a layered shader

    DetailInputsUIBlock.Features features

    Features of the block.

    Properties

    isSubHeader

    Property that specifies if the scope is a subheader

    Declaration
    protected override bool isSubHeader { get; }
    Property Value
    Type Description
    bool
    Overrides
    MaterialUIBlock.isSubHeader

    Methods

    LoadMaterialProperties()

    Loads the material properties for the block.

    Declaration
    public override void LoadMaterialProperties()
    Overrides
    MaterialUIBlock.LoadMaterialProperties()

    OnGUIOpen()

    Renders the properties in the block.

    Declaration
    protected override void OnGUIOpen()
    Overrides
    MaterialUIBlock.OnGUIOpen()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)