IMixedRealitySpatialAwarenessSystem.CreateSpatialAwarenessObservationParent Method

Definition

Creates the a parent, that is a child of the Spatial Awareness System parent so that the scene hierarchy does not get overly cluttered.

C++
public:
 UnityEngine::GameObject ^ CreateSpatialAwarenessObservationParent(System::String ^ name);

Parameters

name
String

Returns

UnityEngine.GameObject

The GameObject to which spatial awareness objects will be parented.

Remarks

This method is to be called by implementations of the IMixedRealitySpatialAwarenessObserver interface, not by application code. It is used to enable observations to be grouped by observer.

Applies to

Produkt Versionen
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