docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor SurfaceOptionUIBlock

    SurfaceOptionUIBlock(ExpandableBit, int, Features)

    Constructs a SurfaceOptionUIBlock based on the parameters.

    Declaration
    public SurfaceOptionUIBlock(MaterialUIBlock.ExpandableBit expandableBit, int layerCount = 1, SurfaceOptionUIBlock.Features features = (SurfaceOptionUIBlock.Features)-1)
    Parameters
    Type Name Description
    MaterialUIBlock.ExpandableBit expandableBit

    Bit used for the foldout state.

    int layerCount

    Number of layers available in the shader.

    SurfaceOptionUIBlock.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)