Dela via


AudioNodeEmitter.DistanceScale Property

Definition

Gets or sets the scale of the position of the emitter. All distances used when calculating spatial audio effects are expressed in meters. Setting this value allows you to automatically scale the calculations to use some other unit.

public:
 property double DistanceScale { double get(); void set(double value); };
double DistanceScale();

void DistanceScale(double value);
public double DistanceScale { get; set; }
var double = audioNodeEmitter.distanceScale;
audioNodeEmitter.distanceScale = double;
Public Property DistanceScale As Double

Property Value

Double

double

The scale of the position of the emitter.

Applies to