C Specification
The XrSurfaceAnchorTypeANDROID enumeration is defined as:
// Provided by XR_ANDROID_geospatial_anchor
typedef enum XrSurfaceAnchorTypeANDROID {
XR_SURFACE_ANCHOR_TYPE_TERRAIN_ANDROID = 1,
XR_SURFACE_ANCHOR_TYPE_ROOFTOP_ANDROID = 2,
XR_SURFACE_ANCHOR_TYPE_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrSurfaceAnchorTypeANDROID;
Description
The XrSurfaceAnchorTypeANDROID enumeration specifies the type of surface an anchor is relative to.
The enumerants have the following values:
| Enum | Description |
|---|---|
|
Type of an anchor placed relative to the ground. |
|
Type of an anchor placed relative to the rooftop, or ground where there is no building. |
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.