Chapter 4: Creating an AR User Framework
In this chapter, we will develop a framework for building Augmented Reality (AR) applications that manage user interaction modes and the corresponding user interface (UI). The framework includes important user experience (UX) steps when starting up the AR session at runtime and interacting with AR features. This framework will form the basis for new scenes for projects later in this book.
This is a Unity framework for building mode-based applications. It generalizes some of the scene structure that I have found myself repeating from one project to the next. For example, when an AR app first starts, it must verify that the device supports AR. Once the AR session is initialized, the app may prompt the user to begin scanning the environment to establish tracking. At some point later in the application, the user might be prompted to tap the screen to place a virtual object, often in Add-object mode. These steps are common to many AR applications...