Retrieves the 3D position of a sample, stream, or MOD music channel with 3D functionality.
BOOL WINAPI BASS_ChannelGet3DPosition( |
Parameters
handle | The channel handle... a HCHANNEL, HMUSIC, HSTREAM. |
pos | Position of the sound... NULL = don't retrieve it. |
orient | Orientation of the sound... NULL = don't retrieve it. |
vel | Velocity of the sound... 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_HANDLE | handle is not a valid channel. |
BASS_ERROR_NO3D | The channel does not have 3D functionality... it wasn't created or loaded with the BASS_xxx_3D flag. |
See also
BASS_ChannelGet3DAttributes, BASS_ChannelGetAttributes, BASS_ChannelSet3DPosition, BASS_Get3DFactors, BASS_Get3DPosition, BASS_3DVECTOR structure