C Specification

The XrSpatialAnchorCreateInfoHTC structure is defined as:

// Provided by XR_HTC_anchor
typedef struct XrSpatialAnchorCreateInfoHTC {
    XrStructureType           type;
    const void*               next;
    XrSpace                   space;
    XrPosef                   poseInSpace;
    XrSpatialAnchorNameHTC    name;
} XrSpatialAnchorCreateInfoHTC;

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.

  • space is the XrSpace in which poseInSpace is specified.

  • poseInSpace is the XrPosef specifying the point in the real world within space.

  • name is the XrSpatialAnchorNameHTC containing the name of the anchor.

Description

The poseInSpace is transformed into world space to specify the point in the real world. The anchor tracks changes of the reality and may not be affected by the changes of space.

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.