We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Interface IMixedRealitySpatialAwarenessObservationHandler<T>

    Namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMixedRealitySpatialAwarenessObservationHandler<T> : IEventSystemHandler
    Type Parameters
    Name Description
    T

    Methods

    OnObservationAdded(MixedRealitySpatialAwarenessEventData<T>)

    Called when a spatial observer adds a new observation.

    Declaration
    void OnObservationAdded(MixedRealitySpatialAwarenessEventData<T> eventData)
    Parameters
    Type Name Description
    MixedRealitySpatialAwarenessEventData<T> eventData

    Data describing the event.

    OnObservationRemoved(MixedRealitySpatialAwarenessEventData<T>)

    Called when a spatial observer removes a previous observation.

    Declaration
    void OnObservationRemoved(MixedRealitySpatialAwarenessEventData<T> eventData)
    Parameters
    Type Name Description
    MixedRealitySpatialAwarenessEventData<T> eventData

    Data describing the event.

    OnObservationUpdated(MixedRealitySpatialAwarenessEventData<T>)

    Called when a spatial observer updates a previous observation.

    Declaration
    void OnObservationUpdated(MixedRealitySpatialAwarenessEventData<T> eventData)
    Parameters
    Type Name Description
    MixedRealitySpatialAwarenessEventData<T> eventData

    Data describing the event.

    Back to top Generated by DocFX