IMixedRealitySpatialAwarenessSystem.CreateSpatialAwarenessObservationParent Method
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.
Creates the a parent, that is a child of the Spatial Awareness System parent so that the scene hierarchy does not get overly cluttered.
public:
UnityEngine::GameObject ^ CreateSpatialAwarenessObservationParent(System::String ^ name);
public UnityEngine.GameObject CreateSpatialAwarenessObservationParent (string name);
abstract member CreateSpatialAwarenessObservationParent : string -> UnityEngine.GameObject
Public Function CreateSpatialAwarenessObservationParent (name As String) As GameObject
- name
- String
The GameObject to which spatial awareness objects will be parented.
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.
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 |