BaseSpatialMeshObserver.AddRuntimeSpatialMeshPrefabToHierarchy 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.
Instantiates and appends a prefab to the Runtime (on device and not in editor) Spatial Awareness hierarchy.
The default structure of the Spatial Awareness System:
Spatial Awareness System Windows Mixed Reality Spatial Mesh Observer Spatial Mesh - ID Spatial Mesh - ID ...
If the Runtime Spatial Mesh Prefab field is not null, this method adds the prefab between the Spatial Awareness System and the Windows Mixed Reality Spatial Mesh Observer which results in this structure:
Spatial Awareness System Runtime Spatial Mesh Prefab Windows Mixed Reality Spatial Mesh Observer Spatial Mesh - ID Spatial Mesh - ID ...
protected:
void AddRuntimeSpatialMeshPrefabToHierarchy();
protected void AddRuntimeSpatialMeshPrefabToHierarchy ();
member this.AddRuntimeSpatialMeshPrefabToHierarchy : unit -> unit
Protected Sub AddRuntimeSpatialMeshPrefabToHierarchy ()