C Specification

The XrPlaneDetectorSemanticTypeEXT enumeration identifies the different semantic types of detected planes.

// Provided by XR_EXT_plane_detection
typedef enum XrPlaneDetectorSemanticTypeEXT {
    XR_PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXT = 0,
    XR_PLANE_DETECTOR_SEMANTIC_TYPE_CEILING_EXT = 1,
    XR_PLANE_DETECTOR_SEMANTIC_TYPE_FLOOR_EXT = 2,
    XR_PLANE_DETECTOR_SEMANTIC_TYPE_WALL_EXT = 3,
    XR_PLANE_DETECTOR_SEMANTIC_TYPE_PLATFORM_EXT = 4,
    XR_PLANE_DETECTOR_SEMANTIC_TYPE_MAX_ENUM_EXT = 0x7FFFFFFF
} XrPlaneDetectorSemanticTypeEXT;

Description

The enums have the following meanings:

Enum Description

XR_PLANE_DETECTOR_SEMANTIC_TYPE_UNDEFINED_EXT

The runtime was unable to classify this plane.

XR_PLANE_DETECTOR_SEMANTIC_TYPE_CEILING_EXT

The detected plane is a ceiling.

XR_PLANE_DETECTOR_SEMANTIC_TYPE_FLOOR_EXT

The detected plane is a floor.

XR_PLANE_DETECTOR_SEMANTIC_TYPE_WALL_EXT

The detected plane is a wall.

XR_PLANE_DETECTOR_SEMANTIC_TYPE_PLATFORM_EXT

The detected plane is a platform, like a table.

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-2024, The Khronos Group Inc.