O'Reilly logo

HoloLens Beginner’s Guide by Jason Odom

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Object Surface Observer

Finally, we have the Object Surface Observer. This is simply a solution to allow Unity users to have a spatial map that they can use inside the editor.

The Game Object that is a mesh of the space you want to test in is called the Room Model.

Let's take a quick minute to go ahead and put the spatial map that we imported earlier into the Object Surface Observer:

  1. Click on the root Prefabs folder.
  2. Click and drag the Spatial Mapping model to the Room Model field, as follows:
  1. Now, drop it as shown here:

Now, if you click ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required