SoundEffectInstance.Pan Property (Microsoft.Xna.Framework.Audio)
Gets or sets the pan, or speaker balance..
Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
public float Pan { get; set; }
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Property Value
Type: System.SinglePan value ranging from -1.0 (left speaker) to 0.0 (centered), 1.0 (right speaker). Values outside of this range will throw an exception.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web