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. |
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. |
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. |
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. |