Firelight Technologies FMOD Studio API
Retrieves the position and velocity used to apply panning, attenuation and doppler.
FMOD_RESULT Channel::get3DAttributes(
FMOD_VECTOR *pos,
FMOD_VECTOR *vel,
FMOD_VECTOR *alt_pan_pos
);
FMOD_RESULT FMOD_Channel_Get3DAttributes(
FMOD_CHANNEL *channel,
FMOD_VECTOR *pos,
FMOD_VECTOR *vel,
FMOD_VECTOR *alt_pan_pos
);
If the function succeeds then the return value is FMOD_OK.
If the function fails then the return value will be one of the values defined in the FMOD_RESULT enumeration.
A 'distance unit' is specified by System::set3DSettings. By default this is set to meters which is a distance scale of 1.0.
Version 1.03.06 Built on Apr 17, 2014