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

Gets or sets the emitter's forward vector.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.271)
  • C#
  • VB
  • F#
public Vector3 Forward { 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.Forward. (new Vector3(0, 0, -1))Used with AudioListener.Velocity to calculate Doppler values.The Forward and Up values must be orthonormal.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web