docs.unity3d.com
    Show / Hide Table of Contents

    Enum SurfaceOptionUIBlock.Features

    Options for surface option features. This allows you to display or hide certain parts f the UI.

    Namespace: UnityEditor.Rendering.HighDefinition
    Syntax
    [Flags]
    public enum Features

    Fields

    Name Description Value
    All

    Displays all the fields.

    None

    Displays the minimum surface option fields.

    0
    Surface

    Displays the surface field.

    1
    ReceiveSSR

    Displays the receive ssr field.

    256
    ReceiveDecal

    Displays the receive decal field.

    512
    ShowAfterPostProcessPass

    Displays the show after post process field.

    1024
    ShowPrePassAndPostPass

    Displays the show pre pass and post pass fields.

    4096
    ShowDepthOffsetOnly

    Displays the depth offset field.

    8192
    PreserveSpecularLighting

    Displays the preserve specular lighting field.

    16384
    Lit

    Displays all the Lit Surface Option fields field.

    BlendMode

    Displays the blend mode field.

    2
    DoubleSided

    Displays the double sided field.

    4
    AlphaCutoff

    Displays the alpha cutoff field.

    8
    AlphaCutoffThreshold

    Displays the alpha cutoff threshold field.

    16
    AlphaCutoffShadowThreshold

    Displays the alpha cutoff shadow treshold field.

    32
    DoubleSidedNormalMode

    Displays the double sided normal mode field.

    64
    BackThenFrontRendering

    Displays the back then front rendering field.

    128
    AlphaToMask

    Displays the alpha to mask field.

    2048
    Unlit

    Displays all the Unlit Surface Option fields.

    15551
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023