C Specification

// Provided by XR_FB_spatial_entity
typedef enum XrSpaceComponentTypeFB {
    XR_SPACE_COMPONENT_TYPE_LOCATABLE_FB = 0,
    XR_SPACE_COMPONENT_TYPE_STORABLE_FB = 1,
    XR_SPACE_COMPONENT_TYPE_SHARABLE_FB = 2,
    XR_SPACE_COMPONENT_TYPE_BOUNDED_2D_FB = 3,
    XR_SPACE_COMPONENT_TYPE_BOUNDED_3D_FB = 4,
    XR_SPACE_COMPONENT_TYPE_SEMANTIC_LABELS_FB = 5,
    XR_SPACE_COMPONENT_TYPE_ROOM_LAYOUT_FB = 6,
    XR_SPACE_COMPONENT_TYPE_SPACE_CONTAINER_FB = 7,
  // Provided by XR_META_spatial_entity_mesh
    XR_SPACE_COMPONENT_TYPE_TRIANGLE_MESH_META = 1000269000,
    XR_SPACE_COMPONENT_TYPE_MAX_ENUM_FB = 0x7FFFFFFF
} XrSpaceComponentTypeFB;

Description

Specify the component interfaces attached to the spatial entity.

Enumerant Descriptions
  • XR_SPACE_COMPONENT_TYPE_LOCATABLE_FB — Enables tracking the 6 DOF pose of the XrSpace with xrLocateSpace.

  • XR_SPACE_COMPONENT_TYPE_STORABLE_FB — Enables persistence operations: save and erase.

  • XR_SPACE_COMPONENT_TYPE_SHARABLE_FB — Enables sharing of spatial entities.

  • XR_SPACE_COMPONENT_TYPE_BOUNDED_2D_FB — Bounded 2D component.

  • XR_SPACE_COMPONENT_TYPE_BOUNDED_3D_FB — Bounded 3D component.

  • XR_SPACE_COMPONENT_TYPE_SEMANTIC_LABELS_FB — Semantic labels component.

  • XR_SPACE_COMPONENT_TYPE_ROOM_LAYOUT_FB — Room layout component.

  • XR_SPACE_COMPONENT_TYPE_SPACE_CONTAINER_FB — Space container component.

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.