Düzenle

Aracılığıyla paylaş


DemoSpatialMeshHandler.RegisterEventHandlers<T,U> Method

Definition

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

Applies to