IrrKlang.NET

ISoundEngine.SetListenerPosition Method (Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)

Sets the current listener 3d position. This method is being called by the scene manager automaticly if you are using one, so you might want to ignore this.

[Visual Basic]
Overloads Public Sub SetListenerPosition( _
   ByVal posX As Single, _
   ByVal posY As Single, _
   ByVal posZ As Single, _
   ByVal lookDirX As Single, _
   ByVal lookDirY As Single, _
   ByVal lookDirZ As Single, _
   ByVal velPerSecondX As Single, _
   ByVal velPerSecondY As Single, _
   ByVal velPerSecondZ As Single, _
   ByVal upVectorX As Single, _
   ByVal upVectorY As Single, _
   ByVal upVectorZ As Single _
)
[C#]
public void SetListenerPosition(
   float posX,
   float posY,
   float posZ,
   float lookDirX,
   float lookDirY,
   float lookDirZ,
   float velPerSecondX,
   float velPerSecondY,
   float velPerSecondZ,
   float upVectorX,
   float upVectorY,
   float upVectorZ
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.SetListenerPosition Overload List