Features
This package implements a set of AR Foundation features and also interfaces with additional OpenXR features from other XR packages.
Important
To use any feature in this package, you must enable the corresponding OpenXR Feature in the Android XR feature group. Otherwise, your app can't access these features. Refer to Project setup to understand how to enable Unity OpenXR: Android XR features.
AR features
This package implements the following AR features:
Feature | Description |
---|---|
Session | Enable, disable, and configure AR on the target platform. |
Camera | Render images from device cameras. |
Plane detection | Detect and track flat surfaces. |
Face tracking | Detect and track human faces. |
Ray casts | Cast rays against tracked items. |
Anchors | Track arbitrary points in space. |
Occlusion | Allow 3D objects to appear in front of or behind objects in physical space. |
Additional OpenXR features
When used with certain OpenXR features from other XR packages, Google's Android XR runtime exhibits unique behaviors, as explained in the following table:
Feature | Description | Unique behavior |
---|---|---|
Hand tracking (XR Hands) | Detect and track human hands. | Hand Tracking (Android XR) |
Foveated rendering (OpenXR) | Optimize rendering on XR devices. | Eye tracking and foveated rendering (Android XR) |
Tip
If your app doesn't use a feature, it's best practice to disable that feature. In some cases doing so may improve your app's performance.