C Specification

The XrSemanticLabelMETA enumeration is defined as:

// Provided by XR_META_spatial_entity_semantic_label
typedef enum XrSemanticLabelMETA {
    XR_SEMANTIC_LABEL_UNKNOWN_META = 0,
    XR_SEMANTIC_LABEL_FLOOR_META = 1,
    XR_SEMANTIC_LABEL_CEILING_META = 2,
    XR_SEMANTIC_LABEL_WALL_FACE_META = 3,
    XR_SEMANTIC_LABEL_INNER_WALL_FACE_META = 4,
    XR_SEMANTIC_LABEL_INVISIBLE_WALL_FACE_META = 5,
    XR_SEMANTIC_LABEL_DOOR_FRAME_META = 6,
    XR_SEMANTIC_LABEL_WINDOW_FRAME_META = 7,
    XR_SEMANTIC_LABEL_MAX_ENUM_META = 0x7FFFFFFF
} XrSemanticLabelMETA;

Description

Enumerant Descriptions
  • XR_SEMANTIC_LABEL_UNKNOWN_META  — Unknown. This is a valid label that is used when the runtime is not able to classify the entity using another label, or when the application does not recognize the label.

  • XR_SEMANTIC_LABEL_FLOOR_META  — Floor of a room or space.

  • XR_SEMANTIC_LABEL_CEILING_META  — Ceiling of a room or space.

  • XR_SEMANTIC_LABEL_WALL_FACE_META  — Wall face of a room or space. Wall faces, along with invisible wall faces, are used to define the outer boundary of a room.

  • XR_SEMANTIC_LABEL_INNER_WALL_FACE_META  — Inner wall face, which is a wall face that exists inside a room and is not connected to the outer boundary of the room. For example, a pillar that exists at the center of a room may be represented by using four inner wall faces.

  • XR_SEMANTIC_LABEL_INVISIBLE_WALL_FACE_META  — Invisible wall face, which is used to conceptually separate a space (e.g., separate a living space from a kitchen space in an open floor plan house even though there is no real wall between the two spaces).

  • XR_SEMANTIC_LABEL_DOOR_FRAME_META  — Door frame, which usually exists on a wall face.

  • XR_SEMANTIC_LABEL_WINDOW_FRAME_META  — Window frame, which usually exists on a wall face.

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