This method of the DirectSound3dListener Class sets the listeners orientation, given a front vector and a top vector.
public void setOrientation(float xFront, float yFront, float zFront, float xTop, float yTop, float zTop, int applyFlag);
xFront | The x component of the front vector. |
yFront | The y component of the front vector. |
zFront | The z component of the front vector. |
xTop | The x component of the top vector. |
yTop | The y component of the top vector. |
ztop | The x component of the top vector. |
applyFlag | Value indicating when the setting should be applied. This value must be one of the following: |
The front vector points in the direction of the listener's nose, and the top vector points out the top of the listener's head.