Interface FilterWindow.IProvider | Core RP Library | 8.0.1
docs.unity3d.com
    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
    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

    true if the window should close, false otherwise.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023