C Specification

The XrAttenuationCurvePointBD structure is defined as:

// Provided by XR_BD_spatial_audio_rendering
typedef struct XrAttenuationCurvePointBD {
    float    distance;
    float    gain;
} XrAttenuationCurvePointBD;

Members

Member Descriptions
  • distance is the propagation distance of the sound wave.

  • gain is the linear attenuation gain within the range of (0, 1), where 0 means complete attenuation (silence) and 1 means no attenuation.

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.