Retrieves the position, velocity, and orientation of the listener.
BOOL WINAPI BASS_Get3DPosition( |
Parameters
pos | The position of the listener... NULL = don't retrieve it. |
vel | The listener's velocity... NULL = don't retrieve it. |
front | The direction that the listener's front is pointing... NULL=don't retrieve it. |
top | The direction that the listener's top is pointing... NULL = don't retrieve it. |
Return value
If succesful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_NO3D | BASS_Init has not been successfully called with BASS_DEVICE_3D specified in the flags parameter. |
Remarks
The front and top parameters must both be retrieved in a single call, they can not be retrieved individually.
See also
BASS_Set3DPosition, BASS_3DVECTOR structure