Enum SurfaceOptionUIBlock.Features
Options for surface option features. This allows you to display or hide certain parts of 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 |