Binding the HoloLens Camera

Set up the scene for stereo rendering in the Vuforia configuration. To do this, perform the following steps:

  1. From the main menu, go to Vuforia | Configuration.
  2. In Inspector, set Eyewear Type to Optical See-Through.
  3. Set See Through Config to HoloLens.

The configuration is shown as follows:

Now, bind the AR Camera to use the HoloLens camera as follows:

  1. In Hierarchy, select the AR Camera object.
  2. Drag HoloLensCamera from the Hierarchy onto the Central Anchor Point slot in the Vuforia Behavior component.

The resulting ARCamera component is shown as follows:

Get Augmented Reality for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.