SoundEffect.Play3D Method (AudioListener, AudioEmitter)
Returns a playing SoundEffectInstance at the specified position with the default volume and pitch.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public SoundEffectInstance Play3D (
AudioListener listener,
AudioEmitter emitter
)
Parameters
- listener
Listener position. - emitter
Position of the emitter.
Return Value
A playing SoundEffectInstance at the specified position with the default volume and pitch.
See Also
Reference
SoundEffect Class
SoundEffect Members
Microsoft.Xna.Framework.Audio Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista, Zune