Here, we will put the Spatial Mapping prefab into our application and set up the Spatial Mapping model that we imported in the preceding section. This will allow us to see Spatial Mapping at work inside the Unity Editor without having to go back and forth to the HoloLens.
In your Project View, go to the HoloToolkit | Spatial Mapping | Prefabs directory and click on the Spatial Mapping prefab and drag it to the Hierarchy view and release it.
Spatial Mapping can be broken down into two primary parts:
- Spatial Surface Observer: This component allows us access to the Spatial Mapping surface information created by the ...