<xml> </xml>

IrrKlang.NET |

# ISoundEngine.Play3D Method (String, Single, Single, Single, Boolean, Boolean, StreamMode, Boolean)

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

[Visual Basic]
Overloads Public Function Play3D( _
ByVal soundFilename As String, _
ByVal posX As Single, _
ByVal posY As Single, _
ByVal posZ As Single, _
ByVal playLooped As Boolean, _
ByVal startPaused As Boolean, _
ByVal streamMode As StreamMode, _
ByVal enableSoundEffects As Boolean _
) As ISound
[C#]
public ISound Play3D(
string soundFilename,
float posX,
float posY,
float posZ,
bool playLooped,
bool startPaused,
StreamMode streamMode,
bool enableSoundEffects
);

#### See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.Play3D Overload List