WindowsMixedRealitySpatialMeshObserver Constructor
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.
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.XRSDK.WindowsMixedReality.WindowsMixedRealitySpatialMeshObserver : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessSystem * string * uint32 * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile -> Microsoft.MixedReality.Toolkit.XRSDK.WindowsMixedReality.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
- name
- String
Friendly name of the service.
- priority
- UInt32
Service priority. Used to determine order of instantiation.
- profile
- BaseMixedRealityProfile
The service's configuration profile.