AudioListener.Velocity Property (Microsoft.Xna.Framework.Audio)

Gets or sets the listener's velocity vector.

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

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: Microsoft.Xna.Framework.Vector3
Defaults to Vector3.Zero.Scaled by DopplerScale to calculate the Doppler effect value applied to a Cue.This value is only used to calculate Doppler values.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web