You’ve already seen how you can draw common geometric shapes in augmented reality such as cylinders, boxes, pyramids, and spheres. You’ve also seen how you can draw custom geometric shapes by defining starting and end points. Creating and displaying virtual objects on the screen typically occurs in code.
However, what if you want to give the user the choice of drawing items on the screen? That’s what you’ll learn in this chapter: how to let the user draw lines directly on an augmented reality view.