refDistance property

double refDistance

The refDistance property of the PannerNode is a double value representing the reference distance for reducing volume as the audio source moves further from the listener – i.e. the distance at which the volume reduction starts taking effect. This value is used by all distance models.

The refDistance property's default value is 1.

Implementation

double get refDistance;
void refDistance=(num value)

Implementation

set refDistance(num value);