docs.unity3d.com
    Show / Hide Table of Contents

    Interface IQueryNode

    Interface representing a query node.

    Namespace: UnityEditor.Search
    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
    Boolean

    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
    Boolean

    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
    Int32

    An integer representing the hashcode.

    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