C Specification

Specify the semantic labels of spatial entity.

// Provided by XR_BD_spatial_sensing
typedef enum XrSemanticLabelBD {
    XR_SEMANTIC_LABEL_UNKNOWN_BD = 0,
    XR_SEMANTIC_LABEL_FLOOR_BD = 1,
    XR_SEMANTIC_LABEL_CEILING_BD = 2,
    XR_SEMANTIC_LABEL_WALL_BD = 3,
    XR_SEMANTIC_LABEL_DOOR_BD = 4,
    XR_SEMANTIC_LABEL_WINDOW_BD = 5,
    XR_SEMANTIC_LABEL_OPENING_BD = 6,
    XR_SEMANTIC_LABEL_TABLE_BD = 7,
    XR_SEMANTIC_LABEL_SOFA_BD = 8,
    XR_SEMANTIC_LABEL_CHAIR_BD = 9,
    XR_SEMANTIC_LABEL_HUMAN_BD = 10,
    XR_SEMANTIC_LABEL_BEAM_BD = 11,
    XR_SEMANTIC_LABEL_COLUMN_BD = 12,
    XR_SEMANTIC_LABEL_CURTAIN_BD = 13,
    XR_SEMANTIC_LABEL_CABINET_BD = 14,
    XR_SEMANTIC_LABEL_BED_BD = 15,
    XR_SEMANTIC_LABEL_PLANT_BD = 16,
    XR_SEMANTIC_LABEL_SCREEN_BD = 17,
    XR_SEMANTIC_LABEL_VIRTUAL_WALL_BD = 18,
    XR_SEMANTIC_LABEL_REFRIGERATOR_BD = 19,
    XR_SEMANTIC_LABEL_WASHING_MACHINE_BD = 20,
    XR_SEMANTIC_LABEL_AIR_CONDITIONER_BD = 21,
    XR_SEMANTIC_LABEL_LAMP_BD = 22,
    XR_SEMANTIC_LABEL_WALL_ART_BD = 23,
    XR_SEMANTIC_LABEL_STAIRWAY_BD = 24,
    XR_SEMANTIC_LABEL_MAX_ENUM_BD = 0x7FFFFFFF
} XrSemanticLabelBD;

Description

Enum Description

XR_SEMANTIC_LABEL_UNKNOWN_BD

Semantic label that the runtime does not know.

XR_SEMANTIC_LABEL_FLOOR_BD

Semantic label of floor.

XR_SEMANTIC_LABEL_CEILING_BD

Semantic label of ceiling.

XR_SEMANTIC_LABEL_WALL_BD

Semantic label of wall.

XR_SEMANTIC_LABEL_DOOR_BD

Semantic label of door.

XR_SEMANTIC_LABEL_WINDOW_BD

Semantic label of window.

XR_SEMANTIC_LABEL_OPENING_BD

Semantic label of opening, usually refers to a space that something or someone can pass through.

XR_SEMANTIC_LABEL_TABLE_BD

Semantic label of table.

XR_SEMANTIC_LABEL_SOFA_BD

Semantic label of sofa, usually refers to a seat that multiple people can sit on.

XR_SEMANTIC_LABEL_CHAIR_BD

Semantic label of chair, usually refers to a seat that for one person.

XR_SEMANTIC_LABEL_HUMAN_BD

Semantic label of human.

XR_SEMANTIC_LABEL_BEAM_BD

Semantic label of beam, which usually supports weight in a building or other structure.

XR_SEMANTIC_LABEL_COLUMN_BD

Semantic label of column, which is vertical and used as a support for the roof of a building.

XR_SEMANTIC_LABEL_CURTAIN_BD

Semantic label of curtain.

XR_SEMANTIC_LABEL_CABINET_BD

Semantic label of cabinet.

XR_SEMANTIC_LABEL_BED_BD

Semantic label of bed.

XR_SEMANTIC_LABEL_PLANT_BD

Semantic label of plant.

XR_SEMANTIC_LABEL_SCREEN_BD

Semantic label of screen.

XR_SEMANTIC_LABEL_VIRTUAL_WALL_BD

Semantic label of virtual wall, which is generated by the system scene capture app in order to create a closed space for users.

XR_SEMANTIC_LABEL_REFRIGERATOR_BD

Semantic label of refrigerator.

XR_SEMANTIC_LABEL_WASHING_MACHINE_BD

Semantic label of washing machine.

XR_SEMANTIC_LABEL_AIR_CONDITIONER_BD

Semantic label of air conditioner.

XR_SEMANTIC_LABEL_LAMP_BD

Semantic label of lamp.

XR_SEMANTIC_LABEL_WALL_ART_BD

Semantic label of wall art, like a painting or a photo frame.

XR_SEMANTIC_LABEL_STAIRWAY_BD

Semantic label of stairway.

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.