IrrKlang.NET

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

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

[VisualBasic]
OverloadsPublicFunctionPlay3D( _
ByVal soundFilenameAsString,_
ByVal positionAsVector3D,_
ByVal playLoopedAsBoolean,_
ByVal startPausedAsBoolean,_
ByVal streamModeAsStreamMode,_
ByVal enableSoundEffectsAsBoolean_
)AsISound
[C#]
publicISoundPlay3D(
stringsoundFilename,
Vector3Dposition,
boolplayLooped,
boolstartPaused,
StreamModestreamMode,
boolenableSoundEffects
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List