docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IQueryNode

    Interface representing a query node.

    Namespace: UnityEditor.Search
    Assembly: com.unity.quicksearch.dll
    Syntax
    public interface IQueryNode

    Properties

    children

    The node's children. Can be null.

    Declaration
    List<IQueryNode> children { get; }
    Property Value
    Type Description
    List<IQueryNode>

    identifier

    A string representing this node and its children.

    Declaration
    string identifier { get; }
    Property Value
    Type Description
    string

    leaf

    True if this node is a leaf. A leaf doesn't have any child.

    Declaration
    bool leaf { get; }
    Property Value
    Type Description
    bool

    parent

    Parent of this node. Null if this node is the root.

    Declaration
    IQueryNode parent { get; set; }
    Property Value
    Type Description
    IQueryNode

    skipped

    True if this node is skipped during evaluation. A node can be skipped if the QueryEngine was configured to skip unsupported nodes instead of generating errors.

    Declaration
    bool skipped { get; set; }
    Property Value
    Type Description
    bool

    token

    The token used to build this node.

    Declaration
    QueryToken token { get; set; }
    Property Value
    Type Description
    QueryToken

    type

    The node's type.

    Declaration
    QueryNodeType type { get; }
    Property Value
    Type Description
    QueryNodeType

    Methods

    QueryHashCode()

    Returns a hashcode for this node. Multiple nodes can have the same hashcode if they have the same identifier.

    Declaration
    int QueryHashCode()
    Returns
    Type Description
    int

    An integer representing the hashcode.

    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)