C Specification

The XrTrackableMarkerANDROID structure is defined as:

// Provided by XR_ANDROID_trackables_marker
typedef struct XrTrackableMarkerANDROID {
    XrStructureType                       type;
    void*                                 next;
    XrTrackingStateANDROID                trackingState;
    XrTime                                lastUpdatedTime;
    XrTrackableMarkerDictionaryANDROID    dictionary;
    int32_t                               markerId;
    XrPosef                               centerPose;
    XrExtent2Df                           extents;
} XrTrackableMarkerANDROID;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • trackingState is the XrTrackingStateANDROID of the marker.

  • lastUpdatedTime is the XrTime of the last update of the marker.

  • dictionary is the XrTrackableMarkerDictionaryANDROID of the marker.

  • markerId is the marker id as given in the dictionary.

  • centerPose is the XrPosef of the marker located in XrTrackableGetInfoANDROID::baseSpace. The marker lies in the XZ plane with X pointing to the right of the marker and Z pointing to its bottom and Y coming out of the marker as the normal.

  • extents is the XrExtent2Df dimensions of the marker. The boundary of the bounding box is at points: centerPose +/- (extents / 2).

Description

Valid Usage (Implicit)

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.