Constructor ShaderGraphUIBlock
ShaderGraphUIBlock(ExpandableBit, Features)
Constructs a ShaderGraphUIBlock based on the parameters.
Declaration
public ShaderGraphUIBlock(MaterialUIBlock.ExpandableBit expandableBit = ExpandableBit.ShaderGraph, ShaderGraphUIBlock.Features features = (ShaderGraphUIBlock.Features)-1)
Parameters
| Type | Name | Description | 
|---|---|---|
| MaterialUIBlock.ExpandableBit | expandableBit | Bit index used to store the foldout state.  | 
    
| ShaderGraphUIBlock.Features | features | Features enabled in the block.  |