Edit

Share via


DemoSpatialMeshHandler.UnregisterEventHandlers<T,U> Method

Definition

Unregisters from the spatial awareness system events.

protected:
generic <typename T, typename U>
 where T : Microsoft::MixedReality::Toolkit::SpatialAwareness::IMixedRealitySpatialAwarenessObservationHandler<U> where U : Microsoft::MixedReality::Toolkit::SpatialAwareness::BaseSpatialAwarenessObject virtual void UnregisterEventHandlers();
protected virtual void UnregisterEventHandlers<T,U> () where T : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObservationHandler<U> where U : Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObject;
abstract member UnregisterEventHandlers : unit -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObservationHandler<'U> and 'U :> Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObject)
override this.UnregisterEventHandlers : unit -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObservationHandler<'U> and 'U :> Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObject)
Protected Overridable Sub UnregisterEventHandlers(Of T As IMixedRealitySpatialAwarenessObservationHandler(Of U), U As IMixedRealitySpatialAwarenessObservationHandler(Of U)) ()

Type Parameters

T
U

Applies to