docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    true if the window should close, false otherwise.

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)