Sets the 3D position of a sample, stream, or MOD music channel with 3D functionality.
|handle||The channel handle... a HCHANNEL, HMUSIC, HSTREAM.
|pos||Position of the sound... NULL = leave current.
|orient||Orientation of the sound... NULL = leave current. This is automatically normalized.
|vel||Velocity of the sound... NULL = leave current. This is only used to calculate the doppler effect, and has no effect on the sound's position.
If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode
to get the error code.
|BASS_ERROR_HANDLE||handle is not a valid channel.
|BASS_ERROR_NO3D||The channel does not have 3D functionality.
As with all 3D functions, BASS_Apply3D
must be called to apply the changes made.
, BASS_3DVECTOR structure