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