MixedRealitySpatialAwarenessSystem Constructors

Definition

Overloads

MixedRealitySpatialAwarenessSystem(MixedRealitySpatialAwarenessSystemProfile)

Constructor.

C++
public:
 MixedRealitySpatialAwarenessSystem(Microsoft::MixedReality::Toolkit::SpatialAwareness::MixedRealitySpatialAwarenessSystemProfile ^ profile);

Parameters

profile
MixedRealitySpatialAwarenessSystemProfile

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);

Parameters

registrar
IMixedRealityServiceRegistrar

The IMixedRealityServiceRegistrar instance that loaded the service.

profile
MixedRealitySpatialAwarenessSystemProfile

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)