From the course: AR Development Techniques 03: Recognition and Tracking

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

AR glasses try-on, part 2

AR glasses try-on, part 2

From the course: AR Development Techniques 03: Recognition and Tracking

Start my 1-month free trial

AR glasses try-on, part 2

- [Instructor] In this video, we'll continue with our AR Glasses Try-On app. We'll add two more glasses models and we'll write some code to switch between the different glasses options. First, let's create three UI buttons for the three glasses options. So I'll create a canvas, right-click, UI, Canvas, and change this to scale with screen size. Let's create three buttons. Right-click, UI, Button, and let's make this 160 by 160. And first of all, make sure that you have selected a portrait view from here. So if you currently have free aspect, change it to portrait before adding the UI. Let's change the position of this button to minus 700 or 720. Yeah, this looks fine. Let's create two more buttons, So I'll duplicate this one, right-click, Duplicate. Position the first one at 250 or minus 250. The second one will be in the center which is zero. And the third one will be 250. Let's name this one glasses1button.…

Contents