Redigera

Dela via


SpatialAudioHrtfDistanceDecay structure (spatialaudiohrtf.h)

Represents the decay model that is applied over distance from the position of an ISpatialAudioObjectForHrtf to the position of the listener.

Syntax

typedef struct SpatialAudioHrtfDistanceDecay {
  SpatialAudioHrtfDistanceDecayType Type;
  float                             MaxGain;
  float                             MinGain;
  float                             UnityGainDistance;
  float                             CutoffDistance;
} SpatialAudioHrtfDistanceDecay;

Members

Type

The type of decay, natural or custom. The default value for this field is SpatialAudioHrtfDistanceDecay_NaturalDecay.

MaxGain

MinGain

UnityGainDistance

CutoffDistance

Requirements

Requirement Value
Header spatialaudiohrtf.h