Class LayerListUIBlock
The UI block that represents a material layer list. The Layered Lit shader uses this UI block.
Inherited Members
Namespace: UnityEditor.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class LayerListUIBlock : MaterialUIBlock
Constructors
LayerListUIBlock(ExpandableBit)
Constructs a LayerListUIBlock based on the parameters.
Declaration
public LayerListUIBlock(MaterialUIBlock.ExpandableBit expandableBit)
Parameters
Type | Name | Description |
---|---|---|
MaterialUIBlock.ExpandableBit | expandableBit | Bit index used to store the state of the foldout |
Methods
LoadMaterialProperties()
Loads the material properties for the block.
Declaration
public override void LoadMaterialProperties()
Overrides
OnGUIOpen()
Renders the properties in the block.
Declaration
protected override void OnGUIOpen()