IrrKlang.NET

ISoundEngine.Play2D Method (String, Boolean, Boolean)

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

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

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List