docs.unity3d.com
    目次を表示する/隠す

    Class MARSQueryBackend

    Inheritance
    Object
    MARSQueryBackend
    Namespace: Unity.MARS.Query
    Syntax
    [ModuleBehaviorCallbackOrder(1073741825)]
    [ModuleUnloadOrder(1073741823)]
    [ModuleOrder(1073741826)]
    [MovedFrom("Unity.MARS")]
    public class MARSQueryBackend : IModuleBehaviorCallbacks, IModuleMarsUpdate, IModuleSceneCallbacks, IModuleDependency<MARSDatabase>, IModuleDependency<ReasoningModule>, IModuleDependency<QueryPipelinesModule>, IModule, 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()

    IModule.LoadModule()

    Declaration
    void IModule.LoadModule()
    Implements
    IModule.LoadModule()

    IModule.UnloadModule()

    Declaration
    void IModule.UnloadModule()
    Implements
    IModule.UnloadModule()

    IModuleBehaviorCallbacks.OnBehaviorAwake()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorAwake()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorAwake()

    IModuleBehaviorCallbacks.OnBehaviorDestroy()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorDestroy()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDestroy()

    IModuleBehaviorCallbacks.OnBehaviorDisable()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorDisable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorDisable()

    IModuleBehaviorCallbacks.OnBehaviorEnable()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorEnable()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorEnable()

    IModuleBehaviorCallbacks.OnBehaviorStart()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorStart()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorStart()

    IModuleBehaviorCallbacks.OnBehaviorUpdate()

    Declaration
    void IModuleBehaviorCallbacks.OnBehaviorUpdate()
    Implements
    IModuleBehaviorCallbacks.OnBehaviorUpdate()

    IModuleDependency<MARSDatabase>.ConnectDependency(MARSDatabase)

    Declaration
    void IModuleDependency<MARSDatabase>.ConnectDependency(MARSDatabase dependency)
    Parameters
    Type Name Description
    MARSDatabase dependency
    Implements
    IModuleDependency<T>.ConnectDependency(T)

    IModuleDependency<ReasoningModule>.ConnectDependency(ReasoningModule)

    Declaration
    void IModuleDependency<ReasoningModule>.ConnectDependency(ReasoningModule dependency)
    Parameters
    Type Name Description
    ReasoningModule dependency
    Implements
    IModuleDependency<T>.ConnectDependency(T)

    IModuleDependency<QueryPipelinesModule>.ConnectDependency(QueryPipelinesModule)

    Declaration
    void IModuleDependency<QueryPipelinesModule>.ConnectDependency(QueryPipelinesModule dependency)
    Parameters
    Type Name Description
    QueryPipelinesModule dependency
    Implements
    IModuleDependency<T>.ConnectDependency(T)

    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)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)