maxDistance property

double get maxDistance

The maxDistance property of the PannerNode interface is a double value representing the maximum distance between the audio source and the listener, after which the volume is not reduced any further. This value is used only by the linear distance model.

The maxDistance property's default value is 10000.

Implementation

external double get maxDistance;
set maxDistance (num value)

Implementation

external set maxDistance(num value);