AudioEmitter.DopplerScale Property (Microsoft.Xna.Framework.Audio)

Gets or sets a scale applied to the Doppler effect between the AudioEmitter and an AudioListener.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public float DopplerScale { get; set; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: System.Single
Defaults to 1.0A value of 1.0 leaves the Doppler effect unmodified.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web