C Specification
The XrSpatialCapabilityConfigurationObjectTrackingANDROID structure is defined as:
// Provided by XR_ANDROID_spatial_object_tracking
typedef struct XrSpatialCapabilityConfigurationObjectTrackingANDROID {
XrStructureType type;
const void* next;
XrSpatialCapabilityEXT capability;
uint32_t enabledComponentCount;
const XrSpatialComponentTypeEXT* enabledComponents;
uint32_t activeSemanticLabelCount;
const XrSpatialObjectSemanticLabelANDROID* activeSemanticLabels;
} XrSpatialCapabilityConfigurationObjectTrackingANDROID;
Members
Description
Applications can enable the
XR_SPATIAL_CAPABILITY_OBJECT_TRACKING_ANDROID spatial capability by
adding a pointer to the
XrSpatialCapabilityConfigurationObjectTrackingANDROID structure in
XrSpatialContextCreateInfoEXT::capabilityConfigs.
The runtime must return XR_ERROR_VALIDATION_FAILURE if
capability is not XR_SPATIAL_CAPABILITY_OBJECT_TRACKING_ANDROID.
Applications can specify the desired semantic labels in
activeSemanticLabels which they are in favor to track.
If there is no semantic labels specified in activeSemanticLabels and
activeSemanticLabelCount is 0, all semantic labels are active to be
tracked by default.
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
Copyright 2014-2026 The Khronos Group Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.