DistanceModelType Enum

The distance models of a PannerNode (https://webaudio.github.io/web-audio-api/#enumdef-distancemodeltype).

public enum DistanceModelType

Fields

NameValueDescription
Linear0A linear attenuation between the reference and the maximum distances.
Inverse1An attenuation inversely proportional to the distance.
Exponential2An exponential attenuation.