Class MaterialUIBlockList
Wrapper to handle Material UI Blocks, it will handle initialization of the blocks when drawing the GUI.
Implements
Inherited Members
Namespace: UnityEditor .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Editor.dll
Syntax
public class MaterialUIBlockList : List<MaterialUIBlock>, IList<MaterialUIBlock>, ICollection<MaterialUIBlock>, IReadOnlyList<MaterialUIBlock>, IReadOnlyCollection<MaterialUIBlock>, IEnumerable<MaterialUIBlock>, IList, ICollection, IEnumerable
Constructors
Name | Description |
---|---|
Material |
Construct a ui block list |
Material |
Construct a sub ui block list by passing the parent ui block list (useful for layered UI where ui blocks are nested) |
Fields
Name | Description |
---|---|
parent | Parent of the ui block list, in case of nesting (Layered Lit material) |
Properties
Name | Description |
---|---|
materials | List of materials currently selected in the inspector |
Methods
Name | Description |
---|---|
Fetch |
Fetch the first ui block of type T in the current list of material blocks |
Initialize(Material |
Initialize the ui blocks
|
On |
Render the list of ui blocks |