Edit

Share via


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.

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.

Applies to