C Specification

The XrSurfaceAnchorCreateInfoANDROID structure is defined as:

// Provided by XR_ANDROID_geospatial_anchor
typedef struct XrSurfaceAnchorCreateInfoANDROID {
    XrStructureType               type;
    const void*                   next;
    XrGeospatialTrackerANDROID    geospatialTracker;
    XrSurfaceAnchorTypeANDROID    surfaceAnchorType;
    XrQuaternionf                 eastUpSouthOrientation;
    double                        latitude;
    double                        longitude;
    double                        altitudeRelativeToSurface;
} XrSurfaceAnchorCreateInfoANDROID;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain.

  • geospatialTracker is the XrGeospatialTrackerANDROID to use.

  • surfaceAnchorType is the XrSurfaceAnchorTypeANDROID for the anchor.

  • eastUpSouthOrientation is the orientation with respect to a coordinate system where +X=East, +Y=Up and +Z=South.

  • latitude is the latitude in degrees, between -89.9 and +89.9.

  • longitude is the longitude in degrees, between -180 and +180.

  • altitudeRelativeToSurface is the altitude in meters relative to the surface specified by surfaceAnchorType.

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