Setting up the project

Let's jump right in:

  1. Create a new 3D project in Unity, named BusinessCard.
  2. Import the Vuforia asset package using Assets | Import Package | Custom Package....
  3. Import the VuforiaSamples asset package also using Assets | Import Package | Custom Package....

 

  1. Set the app license key in Vuforia | Configuration obtained from the Vuforia Dev Portal.
  2. Delete the Main Camera from the Hierarchy.
  3. Drag the ARCamera prefab from Project Assets into the Hierarchy.
  4. Add the Camera Settings component to the camera to enable auto-focus.
  5. Save your work: File | Save Scene As and File | Save Project.

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.