IMixedRealitySpatialAwarenessSystem.CreateSpatialAwarenessObservationParent Method
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.
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
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.