DemoSpatialMeshHandler.UnregisterEventHandlers<T,U> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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