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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for