docs.unity3d.com
    Show / Hide Table of Contents

    Class MARSQueryBackend

    Inheritance
    Object
    MARSQueryBackend
    Namespace: Unity.MARS.Query
    Syntax
    public class MARSQueryBackend : IModuleBehaviorCallbacks, IModuleMarsUpdate, IModule, IModuleSceneCallbacks, IModuleDependency<MARSDatabase>, IModuleDependency<ReasoningModule>, IModuleDependency<QueryPipelinesModule>, IUsesDatabaseQuerying

    Methods

    RegisterSetQuery(SetQueryArgs)

    Declaration
    public QueryMatchID RegisterSetQuery(SetQueryArgs queryArgs)
    Parameters
    Type Name Description
    SetQueryArgs queryArgs
    Returns
    Type Description
    QueryMatchID

    Events

    onQueryMatchesFound

    Declaration
    public event Action<QueryMatchID, Dictionary<int, float>> onQueryMatchesFound
    Event Type
    Type Description
    Action<QueryMatchID, Dictionary<Int32, Single>>

    onQueryMatchFound

    Declaration
    public event Action<QueryMatchID, int> onQueryMatchFound
    Event Type
    Type Description
    Action<QueryMatchID, Int32>

    onSetQueryMatchFound

    Declaration
    public event Action<QueryMatchID, Dictionary<IMRObject, int>> onSetQueryMatchFound
    Event Type
    Type Description
    Action<QueryMatchID, Dictionary<IMRObject, Int32>>

    Explicit Interface Implementations

    IModuleMarsUpdate.OnMarsUpdate()

    Called at fixed intervals while the MARS lifecycle is running

    Declaration
    void IModuleMarsUpdate.OnMarsUpdate()
    Implements
    IModuleMarsUpdate.OnMarsUpdate()

    Extension Methods

    IUsesDatabaseQueryingExtensionMethods.MarkDataUsedForUpdates(IUsesDatabaseQuerying, Int32, QueryMatchID, Exclusivity)
    IUsesDatabaseQueryingExtensionMethods.UnmarkDataUsedForUpdates(IUsesDatabaseQuerying, QueryMatchID)
    IUsesDatabaseQueryingExtensionMethods.QueryDataDirty(IUsesDatabaseQuerying, QueryMatchID)
    IUsesDatabaseQueryingExtensionMethods.TryUpdateQueryMatchData(IUsesDatabaseQuerying, Int32, ProxyConditions, ProxyTraitRequirements, QueryResult)
    IUsesDatabaseQueryingExtensionMethods.MarkSetDataUsedForUpdates(IUsesDatabaseQuerying, QueryMatchID, HashSet<Int32>)
    IUsesDatabaseQueryingExtensionMethods.UnmarkSetDataUsedForUpdates(IUsesDatabaseQuerying, QueryMatchID)
    IUsesDatabaseQueryingExtensionMethods.UnmarkPartialSetDataUsedForUpdates(IUsesDatabaseQuerying, QueryMatchID, ICollection<IMRObject>)
    IUsesDatabaseQueryingExtensionMethods.IsSetQueryDataDirty(IUsesDatabaseQuerying, QueryMatchID)
    IUsesDatabaseQueryingExtensionMethods.TryUpdateSetQueryMatchData(IUsesDatabaseQuerying, SetMatchData, Relations, SetQueryResult)
    Back to top
    Terms of use
    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