Meshing
This page supplements the AR Foundation Meshing manual. The following sections only contain information about APIs where Google's Android XR runtime exhibits platform-specific behavior.
Tip
When developing an AR app, refer to both the AR Foundation documentation as well as the required packages for each platform you support.
Use meshing in a scene
To get started with meshing with AR Foundation, follow the instructions in AR Foundation's Use meshing in your scene.
Mesh classification
This package maps Android XR's native object trackable label component to AR Foundation's Mesh Classifications.
Refer to the table below to understand the mapping between AR Foundation's classifications and Android XR's labels:
AR Foundation Label | Android XR label |
---|---|
Unknown | |
Other | OTHER |
Floor | FLOOR |
Ceiling | CEILING |
Wall | WALL |
Table | TABLE |
Seat | |
Window | |
Door |
Note
A blank label indicates that Android XR doesn't support the corresponding mesh classification.
Optional feature support
The following table indicates which meshing features Android XR supports:
Feature | Supported |
---|---|
Density | |
Normals | Yes |
Tangents | |
Texture coordinates | |
Colors | |
Queue size | Yes |
Classification | Yes |
Refer to AR Mesh Manager (AR Foundation) to learn more about AR Mesh Manager features.
Sample scenes
AR Foundation provides three meshing sample scenes to demonstrate meshing features. To learn more about these meshing samples, refer to Meshing samples.
Additional information
- Android XR scene meshing (Android developer documentation).