編輯

共用方式為


BaseSpatialObserver Constructors

Definition

Overloads

BaseSpatialObserver(IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)

Constructor.

BaseSpatialObserver(IMixedRealityServiceRegistrar, IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)
Obsolete.

Constructor.

BaseSpatialObserver(IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)

Constructor.

protected BaseSpatialObserver (Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem, string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);
new Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialObserver : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessSystem * string * uint32 * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile -> Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialObserver
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

BaseSpatialObserver(IMixedRealityServiceRegistrar, IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)

Caution

This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.

Constructor.

[System.Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
protected BaseSpatialObserver (Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar registrar, Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem, string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);
[<System.Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")>]
new Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialObserver : Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar * Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessSystem * string * uint32 * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile -> Microsoft.MixedReality.Toolkit.SpatialAwareness.BaseSpatialObserver
Protected Sub New (registrar As IMixedRealityServiceRegistrar, spatialAwarenessSystem As IMixedRealitySpatialAwarenessSystem, Optional name As String = Nothing, Optional priority As UInteger = 10, Optional profile As BaseMixedRealityProfile = Nothing)

Parameters

registrar
IMixedRealityServiceRegistrar

The IMixedRealityServiceRegistrar instance that loaded the observer.

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.

Attributes

Applies to