docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor DetailInputsUIBlock

    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.

    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)