次の方法で共有


SoundEffectInstance.Pan Property

Gets or sets the panning for the SoundEffectInstance.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public float Pan { get; set; }

Property Value

Panning, ranging from -1.0f (full left) to 1.0f (full right). 0.0f is centered.

See Also

Reference

SoundEffectInstance Class
SoundEffectInstance Members
Microsoft.Xna.Framework.Audio Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone