C Specification

The XrExtent3Df structure is defined as:

// Provided by XR_VERSION_1_1
typedef struct XrExtent3Df {
    float    width;
    float    height;
    float    depth;
} XrExtent3Df;

Members

Member Descriptions
  • width is the floating-point width of the extent (x).

  • height is the floating-point height of the extent (y).

  • depth is the floating-point depth of the extent (z).

Description

This structure is used for component values that may be real numbers, represented with single-precision floating point.

If used to represent physical distances, values must be in meters. The width, height, and depth values must be non-negative.

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.