C Specification
The XrSceneMeshTrackingStateANDROID enumeration describes the tracking state for a scene meshing tracker. Each value in this enum represents a state of the scene meshing tracker.
// Provided by XR_ANDROID_scene_meshing
typedef enum XrSceneMeshTrackingStateANDROID {
XR_SCENE_MESH_TRACKING_STATE_INITIALIZING_ANDROID = 0,
XR_SCENE_MESH_TRACKING_STATE_TRACKING_ANDROID = 1,
XR_SCENE_MESH_TRACKING_STATE_WAITING_ANDROID = 2,
XR_SCENE_MESH_TRACKING_STATE_ERROR_ANDROID = 3,
XR_SCENE_MESH_TRACKING_STATE_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrSceneMeshTrackingStateANDROID;
Description
The enumeration values have the following meanings:
| Enum | Description |
|---|---|
|
The tracker is not yet ready to provide mesh data. |
|
The tracker is actively tracking. |
|
The tracker is waiting for valid measurements to integrate since the last mesh update. |
|
The tracker has not received valid measurements for multiple cycles and is in an error state. |
This state serves only as additional information to the application.
In the absence of other sources of errors, the runtime must continue to
allow the application to create snapshots and retrieve data from them
regardless of the current XrSceneMeshTrackingStateANDROID of the
tracker.
If the state is not XR_SCENE_MESH_TRACKING_STATE_TRACKING_ANDROID, the
snapshots may not be up to date or empty.
Document Notes
For more information, see the OpenXR Specification
This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.
Copyright
Copyright 2014-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.