C Specification
The XrPlaneOrientationBD enumeration identifies the different orientation of a spatial plane.
typedef enum XrPlaneOrientationBD {
XR_PLANE_ORIENTATION_HORIZONTAL_UPWARD_BD = 0,
XR_PLANE_ORIENTATION_HORIZONTAL_DOWNWARD_BD = 1,
XR_PLANE_ORIENTATION_VERTICAL_BD = 2,
XR_PLANE_ORIENTATION_ARBITRARY_BD = 3,
XR_PLANE_ORIENTATION_MAX_ENUM_BD = 0x7FFFFFFF
} XrPlaneOrientationBD;
Description
| Enum | Description |
|---|---|
|
The detected plane is horizontal and faces upward (e.g. floor). |
|
The detected plane is horizontal and faces downward (e.g. ceiling). |
|
The detected plane is vertical (e.g. wall). |
|
The detected plane has an arbitrary, non-vertical and non-horizontal orientation. |
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-2025 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.