IrrKlang.NET

ISoundEngine.Play3DMethod(String, Single, Single, Single, Boolean, Boolean, StreamMode)

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

[VisualBasic]
OverloadsPublicFunctionPlay3D( _
ByVal soundFilenameAsString,_
ByVal posXAsSingle,_
ByVal posYAsSingle,_
ByVal posZAsSingle,_
ByVal playLoopedAsBoolean,_
ByVal startPausedAsBoolean,_
ByVal streamModeAsStreamMode_
)AsISound
[C#]
publicISoundPlay3D(
stringsoundFilename,
floatposX,
floatposY,
floatposZ,
boolplayLooped,
boolstartPaused,
StreamModestreamMode
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List