docs.unity3d.com
    Show / Hide Table of Contents

    Class SetQueryResult

    Data returned from a particular set query

    Inheritance
    Object
    SetQueryResult
    Namespace: Unity.MARS.Query
    Syntax
    public class SetQueryResult : object

    Constructors

    SetQueryResult(QueryMatchID)

    Declaration
    public SetQueryResult(QueryMatchID id)
    Parameters
    Type Name Description
    QueryMatchID id

    SetQueryResult(QueryMatchID, IEnumerable<IMRObject>)

    Declaration
    public SetQueryResult(QueryMatchID id, IEnumerable<IMRObject> children)
    Parameters
    Type Name Description
    QueryMatchID id
    IEnumerable<IMRObject> children

    Fields

    childResults

    Data returned for each child involved in the set query

    Declaration
    public readonly Dictionary<IMRObject, QueryResult> childResults
    Field Value
    Type Description
    Dictionary<IMRObject, QueryResult>

    nonRequiredChildrenLost

    Children that are not required to maintain the query match, which lost their data in this update

    Declaration
    public readonly HashSet<IMRObject> nonRequiredChildrenLost
    Field Value
    Type Description
    HashSet<IMRObject>

    queryMatchId

    Declaration
    public QueryMatchID queryMatchId
    Field Value
    Type Description
    QueryMatchID

    Methods

    Reset()

    (Obsolete) Reset is not supported and will be removed in a future version.

    Declaration
    public void Reset()

    RestoreResults()

    Declaration
    public void RestoreResults()

    SetChildren(Dictionary<IMRObject, QueryResult>)

    Declaration
    public void SetChildren(Dictionary<IMRObject, QueryResult> children)
    Parameters
    Type Name Description
    Dictionary<IMRObject, QueryResult> children

    SetChildren<T>(T)

    Declaration
    public void SetChildren<T>(T children)
        where T : class, IEnumerable<IMRObject>
    Parameters
    Type Name Description
    T children
    Type Parameters
    Name Description
    T
    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