SoundEffectInstance.Apply3D Method (AudioListener, AudioEmitter)
Applies 3D positioning to the sound using a single listener.
Syntax
'Declaration
Public Sub Apply3D ( _
listener As AudioListener, _
emitter As AudioEmitter _
)
public void Apply3D (
AudioListener listener,
AudioEmitter emitter
)
public:
void Apply3D(
AudioListener listener,
AudioEmitter emitter
)
Parameters
- listener
Type: AudioListener
Position of the listener. - emitter
Type: AudioEmitter
Position of the emitter.
Requirements
Namespace: Microsoft.Xna.Framework.Audio
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Tasks
Playing a Sound
Looping a Sound
Adjusting Pitch and Volume
Reference
SoundEffectInstance Class
SoundEffectInstance Members
Microsoft.Xna.Framework.Audio Namespace
Platforms
Windows Phone