IrrKlang.NET

ISoundEngine.Play3D Method (String, Vector3D, Boolean, Boolean, StreamMode)

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

[Visual Basic]
Overloads Public Function Play3D( _
   ByVal soundFilename As String, _
   ByVal position As Vector3D, _
   ByVal playLooped As Boolean, _
   ByVal startPaused As Boolean, _
   ByVal streamMode As StreamMode _
) As ISound
[C#]
public ISound Play3D(
   string soundFilename,
   Vector3D position,
   bool playLooped,
   bool startPaused,
   StreamMode streamMode
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List