Modifier

Partager via


BaseSpatialMeshObserver Constructor

Definition

Constructor.

protected BaseSpatialMeshObserver (Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem, string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);
new Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialMeshObserver : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessSystem * string * uint32 * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile -> Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialMeshObserver
Protected Sub New (spatialAwarenessSystem As IMixedRealitySpatialAwarenessSystem, Optional name As String = Nothing, Optional priority As UInteger = 10, Optional profile As BaseMixedRealityProfile = Nothing)

Parameters

spatialAwarenessSystem
IMixedRealitySpatialAwarenessSystem

The IMixedRealitySpatialAwarenessSystem to which the observer is providing data.

name
String

The friendly name of the data provider.

priority
UInt32

The registration priority of the data provider.

profile
BaseMixedRealityProfile

The configuration profile for the data provider.

Applies to