C Specification

The XrSoundObjectDirectivityCardioidBD structure is defined as:

// Provided by XR_BD_spatial_audio_rendering
typedef struct XrSoundObjectDirectivityCardioidBD {
    XrStructureType    type;
    const void*        next;
    float              alpha;
    float              order;
} XrSoundObjectDirectivityCardioidBD;

Members

Member Descriptions
  • type is the XrStructureType of this structure.

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

  • alpha describes the shape of the cardioid polar pattern.

  • order is the sharpness of the cardioid polar pattern.

Description

To describe the directivity of a sound object by a cardioid polar pattern, applications may chain XrSoundObjectDirectivityCardioidBD to the XrSoundObjectConfigBD::next chain.

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.