Microsoft SDK for Java

getPosition

This method of the DirectSound3dListener Class retrieves the listener's current position in distance units. By default, these units are meters, but this can be changed by calling the setDistanceFactor method.

Syntax

public void getPosition(D3dVector position);

Parameters

position The D3dVector that will contain the listener's position vector.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.