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

Gets or sets the emitter's velocity vector.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.341)
  • 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.This value is only used when calculating Doppler values.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web