AudioListener.Up Property
Gets or sets the upward orientation vector for this listener.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public Vector3 Up { get; set; }
Property Value
The upward orientation vector.
Remarks
By default, this value is Vector3.Up. In most cases, it is not necessary to modify this value.
Doppler values between an AudioEmitter and an AudioListener are calculated by the relationship between AudioListener.Velocity and AudioEmitter.Velocity with respect to the axes defined by the Forward and Up vectors of each.
The values of the Forward and Up vectors must be orthonormal (at right angles to one another). Behavior is undefined if these vectors are not orthonormal.
See Also
Reference
AudioListener Class
AudioListener Members
Microsoft.Xna.Framework.Audio Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone