Project Setup
•
Setup a new AR Project in Unity:
7
. Remove the default camera from the scene.
8
. Create the AR Session in the scene (GameObject -> XR -> AR
Session).
•
The AR Session controls the lifecycle of AR app, checks for AR device support,
manages the state of the session, and provides ways to enable and disable AR.
9
. Create the AR Session Origin in the scene (GameObject -> XR -> AR
Session Origin).
•
•
•
AR Session Origin: applies transformations from trackable features to anchored
objects.
AR Pose Driver: controls the position and orientation of the camera according to
the device’s tracking information.
AR Camera Manager: manages the camera’s auto focus, activate light estimation,
allow to switch between the world- and user-facing camera.