IrrKlang.NET

ISoundEngine.Play2DMethod(ISoundSource, Boolean, Boolean, Boolean)

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

[VisualBasic]
OverloadsPublicFunctionPlay2D( _
ByVal sourceAsISoundSource,_
ByVal playLoopedAsBoolean,_
ByVal startPausedAsBoolean,_
ByVal enableSoundEffectsAsBoolean_
)AsISound
[C#]
publicISoundPlay2D(
ISoundSourcesource,
boolplayLooped,
boolstartPaused,
boolenableSoundEffects
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play2D Overload List