IrrKlang.NET

ISoundEngine.Play3DMethod(ISoundSource, Single, Single, Single, Boolean, Boolean, Boolean)

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

[VisualBasic]
OverloadsPublicFunctionPlay3D( _
ByVal sourceAsISoundSource,_
ByVal posXAsSingle,_
ByVal posYAsSingle,_
ByVal posZAsSingle,_
ByVal playLoopedAsBoolean,_
ByVal startPausedAsBoolean,_
ByVal enableSoundEffectsAsBoolean_
)AsISound
[C#]
publicISoundPlay3D(
ISoundSourcesource,
floatposX,
floatposY,
floatposZ,
boolplayLooped,
boolstartPaused,
boolenableSoundEffects
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List