Constructor LayeringOptionsUIBlock
LayeringOptionsUIBlock(ExpandableBit, int)
Constructs a LayeringOptionsUIBlock based on the parameters.
Declaration
public LayeringOptionsUIBlock(MaterialUIBlock.ExpandableBit expandableBit, int layerIndex)
Parameters
Type | Name | Description |
---|---|---|
MaterialUIBlock.ExpandableBit | expandableBit | Bit index used to store the foldout state. |
int | layerIndex | Current layer index. For non-layered shader, indicate 0. |