C Specification

The XrEventDataSpatialAnchorCreateCompleteFB structure is defined as:

// Provided by XR_FB_spatial_entity
typedef struct XrEventDataSpatialAnchorCreateCompleteFB {
    XrStructureType       type;
    const void*           next;
    XrAsyncRequestIdFB    requestId;
    XrResult              result;
    XrSpace               space;
    XrUuidEXT             uuid;
} XrEventDataSpatialAnchorCreateCompleteFB;

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.

  • requestId is the ID of the asynchronous request used to create a new spatial anchor.

  • result is an XrResult that determines if the request succeeded or if an error occurred.

  • space is the XrSpace handle to the newly created spatial anchor.

  • uuid is the UUID of the newly created spatial anchor.

Description

It describes the result of a request to create a new spatial anchor. Once this event is posted, it is the applications responsibility to take ownership of the XrSpace. The XrSession passed into xrCreateSpatialAnchorFB is the parent handle of the newly created XrSpace.

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-2024, The Khronos Group Inc.