refDistance property

double get refDistance

The refDistance property of the PannerNode interface 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

external double get refDistance;
set refDistance (num value)

Implementation

external set refDistance(num value);