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

XR_PLANE_ORIENTATION_HORIZONTAL_UPWARD_BD

The detected plane is horizontal and faces upward (e.g. floor).

XR_PLANE_ORIENTATION_HORIZONTAL_DOWNWARD_BD

The detected plane is horizontal and faces downward (e.g. ceiling).

XR_PLANE_ORIENTATION_VERTICAL_BD

The detected plane is vertical (e.g. wall).

XR_PLANE_ORIENTATION_ARBITRARY_BD

The detected plane has an arbitrary, non-vertical and non-horizontal orientation.

See Also

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 2014-2025 The Khronos Group Inc.