AL.DopplerFactor(Single) Method

Definition

AL.DopplerFactor is a simple scaling of source and listener velocities to exaggerate or deemphasize the Doppler (pitch) shift resulting from the calculation.

public static void DopplerFactor (float value);
static member DopplerFactor : single -> unit

Parameters

value
Single

A negative value will result in an error, the command is then ignored. The default value is 1f. The current setting can be queried using AL.Get with parameter ALGetFloat.SpeedOfSound.

Applies to