C Specification

The XrSceneMeshSemanticLabelANDROID enumeration is the default set of semantic labels that can be used to label mesh vertices to describe which physical environment surface the mesh vertex is on. This enum set is represented by the XR_SCENE_MESH_SEMANTIC_LABEL_SET_DEFAULT_ANDROID value in XrSceneMeshSemanticLabelSetANDROID.

// Provided by XR_ANDROID_scene_meshing
typedef enum XrSceneMeshSemanticLabelANDROID {
    XR_SCENE_MESH_SEMANTIC_LABEL_OTHER_ANDROID = 0,
    XR_SCENE_MESH_SEMANTIC_LABEL_FLOOR_ANDROID = 1,
    XR_SCENE_MESH_SEMANTIC_LABEL_CEILING_ANDROID = 2,
    XR_SCENE_MESH_SEMANTIC_LABEL_WALL_ANDROID = 3,
    XR_SCENE_MESH_SEMANTIC_LABEL_TABLE_ANDROID = 4,
    XR_SCENE_MESH_SEMANTIC_LABEL_MAX_ENUM_ANDROID = 0x7FFFFFFF
} XrSceneMeshSemanticLabelANDROID;

Description

The enums have the following meanings:

Enum Description

XR_SCENE_MESH_SEMANTIC_LABEL_OTHER_ANDROID

This semantic label indicates that the corresponding mesh element represents an unknown object.

XR_SCENE_MESH_SEMANTIC_LABEL_FLOOR_ANDROID

This semantic label indicates that the corresponding mesh element represents a floor.

XR_SCENE_MESH_SEMANTIC_LABEL_CEILING_ANDROID

This semantic label indicates that the corresponding mesh element represents a ceiling.

XR_SCENE_MESH_SEMANTIC_LABEL_WALL_ANDROID

This semantic label indicates that the corresponding mesh element represents a wall.

XR_SCENE_MESH_SEMANTIC_LABEL_TABLE_ANDROID

This semantic label indicates that the corresponding mesh element represents 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-2026 The Khronos Group Inc.