SoundEffectInstance.Apply3D Method (AudioListener , AudioEmitter)
Applies 3D position to the sound using multiple listeners.
Syntax
'Declaration
Public Sub Apply3D ( _
listeners As AudioListener(), _
emitter As AudioEmitter _
)
public void Apply3D (
AudioListener[] listeners,
AudioEmitter emitter
)
public:
void Apply3D(
AudioListener listeners[],
AudioEmitter emitter
)
Parameters
- listeners
Type: AudioListener
Positions of each 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