IrrKlang.NET

ISoundEngine.Play3D Method (ISoundSource, Single, Single, Single, Boolean, Boolean, Boolean)

loads a sound source (if not loaded already) from a file and plays it as 3d sound.

[Visual Basic]
Overloads Public Function Play3D( _
   ByVal source As ISoundSource, _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal enableSoundEffects As Boolean _
) As ISound
[C#]
public ISound Play3D(
   ISoundSource source,
   float posX,
   float posY,
   float posZ,
   bool playLooped,
   bool startPaused,
   bool enableSoundEffects
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List