DemoSpatialMeshHandler.RegisterEventHandlers<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.
Registers for 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 RegisterEventHandlers();
protected virtual void RegisterEventHandlers<T,U> () where T : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObservationHandler<U> where U : Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObject;
abstract member RegisterEventHandlers : unit -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObservationHandler<'U> and 'U :> Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObject)
override this.RegisterEventHandlers : unit -> unit (requires 'T :> Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObservationHandler<'U> and 'U :> Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialAwarenessObject)
Protected Overridable Sub RegisterEventHandlers(Of T As IMixedRealitySpatialAwarenessObservationHandler(Of U), U As IMixedRealitySpatialAwarenessObservationHandler(Of U)) ()
Type Parameters
- T
- U