Constructor LitSurfaceInputsUIBlock
LitSurfaceInputsUIBlock(ExpandableBit, int, int, Features)
Constructs a LitSurfaceInputsUIBlock based on the parameters.
Declaration
public LitSurfaceInputsUIBlock(MaterialUIBlock.ExpandableBit expandableBit, int layerCount = 1, int layerIndex = 0, LitSurfaceInputsUIBlock.Features features = (LitSurfaceInputsUIBlock.Features)-9)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialUIBlock.ExpandableBit | expandableBit | Bit index to store the foldout state. |
| int | layerCount | Number of layers in the shader. |
| int | layerIndex | Current layer index to display. 0 if it's not a layered shader |
| LitSurfaceInputsUIBlock.Features | features | Features of the block. |