Adding a capture button

The app needs to provide users with a way to say here, use this view of the real world as my image target, which Vuforia can then recognize and activate the AR content. For this we'll add a prompt and a capture button. The various prompt UI elements will be enclosed in an AR Prompt panel. Let's create that first:

  1. Select Main Canvas in Hierarchy.
  2. Create UI | Panel.
  3. Name it AR Prompt.

It will have no background at all, since we need to show a video feed. We can remove its Image component entirely.

In the gear-icon for the Image component, select Remove Component.

Meanwhile, the work we're composing now will be seen by the user when in VR Mode, so you can manually disable the Content Scroll View panel now, temporarily. ...

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.