C Specification

The XrGeospatialPoseANDROID structure is defined as:

// Provided by XR_ANDROID_geospatial
typedef struct XrGeospatialPoseANDROID {
    XrQuaternionf    eastUpSouthOrientation;
    double           latitude;
    double           longitude;
    double           altitude;
} XrGeospatialPoseANDROID;

Members

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

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

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

  • altitude is the altitude in meters above the WGS84 ellipsoid.

Description

The XrGeospatialPoseANDROID structure represents a position and orientation relative to the Earth using the WGS84 ellipsoid.

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.