Interface FilterWindow.IProvider
The interface to implement to populate the list or tree and traverse its elements.
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public interface FilterWindow.IProvider
Properties
position
The position of the window on screen.
Declaration
Vector2 position { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
Methods
CreateComponentTree(List<Element>)
Implement this method to populate the list or tree of elements.
Declaration
void CreateComponentTree(List<FilterWindow.Element> tree)
Parameters
Type | Name | Description |
---|---|---|
List<FilterWindow.Element> | tree | The list to populate. |
GoToChild(Element, bool)
Implement this method to define the behavior when an item is selected.
Declaration
bool GoToChild(FilterWindow.Element element, bool addIfComponent)
Parameters
Type | Name | Description |
---|---|---|
FilterWindow.Element | element | The selected element. |
bool | addIfComponent | A flag indicating whether to add the element as a component if applicable. |
Returns
Type | Description |
---|---|
bool |
|