Interface FilterWindow.IProvider
The interface to implement to populate the list or tree and traverse its elements.
Namespace: UnityEditor.Rendering
Syntax
public interface IProvider
Properties
position
The position of the window on screen.
Declaration
Vector2 position { get; set; }
Property Value
Type | Description |
---|---|
Vector2 |
Methods
CreateComponentTree(List<FilterWindow.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(FilterWindow.Element, Boolean)
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. |
Boolean | addIfComponent |
Returns
Type | Description |
---|---|
Boolean |
|