Edytuj

Udostępnij za pośrednictwem


WindowsMixedRealitySpatialMeshObserver Constructors

Definition

Overloads

WindowsMixedRealitySpatialMeshObserver(IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)

Constructor.

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

Constructor.

WindowsMixedRealitySpatialMeshObserver(IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)

Constructor.

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

Parameters

spatialAwarenessSystem
IMixedRealitySpatialAwarenessSystem

The service instance that receives data from this provider.

name
String

Friendly name of the service.

priority
UInt32

Service priority. Used to determine order of instantiation.

profile
BaseMixedRealityProfile

The service's configuration profile.

Applies to

WindowsMixedRealitySpatialMeshObserver(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.")]
public WindowsMixedRealitySpatialMeshObserver (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.WindowsMixedReality.SpatialAwareness.WindowsMixedRealitySpatialMeshObserver : Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar * Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessSystem * string * uint32 * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile -> Microsoft.MixedReality.Toolkit.WindowsMixedReality.SpatialAwareness.WindowsMixedRealitySpatialMeshObserver
Public 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 service.

spatialAwarenessSystem
IMixedRealitySpatialAwarenessSystem

The service instance that receives data from this provider.

name
String

Friendly name of the service.

priority
UInt32

Service priority. Used to determine order of instantiation.

profile
BaseMixedRealityProfile

The service's configuration profile.

Attributes

Applies to