IrrKlang.NET

ISoundEngine.SetListenerPositionMethod(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.

[VisualBasic]
OverloadsPublicSubSetListenerPosition( _
ByVal posXAsSingle,_
ByVal posYAsSingle,_
ByVal posZAsSingle,_
ByVal lookDirXAsSingle,_
ByVal lookDirYAsSingle,_
ByVal lookDirZAsSingle,_
ByVal velPerSecondXAsSingle,_
ByVal velPerSecondYAsSingle,_
ByVal velPerSecondZAsSingle,_
ByVal upVectorXAsSingle,_
ByVal upVectorYAsSingle,_
ByVal upVectorZAsSingle_
)
[C#]
publicvoidSetListenerPosition(
floatposX,
floatposY,
floatposZ,
floatlookDirX,
floatlookDirY,
floatlookDirZ,
floatvelPerSecondX,
floatvelPerSecondY,
floatvelPerSecondZ,
floatupVectorX,
floatupVectorY,
floatupVectorZ
);

See Also

ISoundEngine Class | IrrKlang Namespace | ISoundEngine.SetListenerPosition Overload List