MixedRealitySpatialAwarenessSystem Constructors
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.
C++
public:
MixedRealitySpatialAwarenessSystem(Microsoft::MixedReality::Toolkit::SpatialAwareness::MixedRealitySpatialAwarenessSystemProfile ^ profile);
public MixedRealitySpatialAwarenessSystem (Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessSystemProfile profile);
new Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessSystem : Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessSystemProfile -> Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessSystem
Public Sub New (profile As MixedRealitySpatialAwarenessSystemProfile)
Parameters
The configuration profile for the service.
Applies to
MRTK2 Unity 2018 2.7.0 та інші версії
Продукт | Версії |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MixedRealitySpatialAwarenessSystem(IMixedRealityServiceRegistrar, MixedRealitySpatialAwarenessSystemProfile)
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.
C++
public:
MixedRealitySpatialAwarenessSystem(Microsoft::MixedReality::Toolkit::IMixedRealityServiceRegistrar ^ registrar, Microsoft::MixedReality::Toolkit::SpatialAwareness::MixedRealitySpatialAwarenessSystemProfile ^ profile);
[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 MixedRealitySpatialAwarenessSystem (Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar registrar, Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessSystemProfile profile);
[<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.MixedRealitySpatialAwarenessSystem : Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar * Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessSystemProfile -> Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessSystem
Public Sub New (registrar As IMixedRealityServiceRegistrar, profile As MixedRealitySpatialAwarenessSystemProfile)
Parameters
- registrar
- IMixedRealityServiceRegistrar
The IMixedRealityServiceRegistrar instance that loaded the service.
The configuration profile for the service.
- Attributes
Applies to
MRTK2 Unity 2018 2.7.0 та інші версії
Продукт | Версії (Застаріло.) |
---|---|
MRTK2 Unity 2018 | (2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0) |
MRTK2 Unity 2019 | (2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0) |
MRTK2 Unity 2020 | (2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0) |