From the course: AR Development Techniques 02: Lighting and Physics
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Hiding plane visualizers
From the course: AR Development Techniques 02: Lighting and Physics
Hiding plane visualizers
- [Instructor] In this video, we are going to see how to hide the plain visualizers after we have placed the virtual cube on the detected surface. First of all, let's disable the AR Point Cloud Manager's script. This was just to show you how the app recognizes the unique environmental features. We are more interested in the plane visualizers. Now, as soon as we place the object, we want the planes to disappear. To do that, we have to do two things. First, we have to hide all the plane visualizers that the app has added till now. And second, we have to disable the AR Plane Manager's script so that no new planes are added in the scene. So let's write the code for this. First of all, we'll write the code, remove all the plane visualizers that are added till now, so I'll write a for loop for that. Since there can be many plane visualizers in the scene, for each lean in AR session origin.git competent, AR, plane manager…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Plane detection overview1m
-
(Locked)
ARSession and ARSessionOrigin2m 10s
-
Point clouds and plane detection3m 40s
-
(Locked)
Deploying the app on your devices2m 50s
-
(Locked)
Tap on screen to place on plane: Part 13m 8s
-
Tap on screen to place on plane: Part 24m 28s
-
(Locked)
Tap on screen to place on plane: Part 34m
-
(Locked)
Hiding plane visualizers2m 8s
-
(Locked)
FocusSquare to place on plane13m 40s
-
(Locked)
Resetting and reloading the ARSession2m 43s
-
(Locked)
-
-
-
-
-