Firelight Technologies FMOD Studio API
Sets the occlusion factors manually for when the FMOD geometry engine is not being used.
FMOD_RESULT ChannelControl::set3DOcclusion(
float directocclusion,
float reverbocclusion
);
directocclusion
Occlusion factor for the direct path, from 0.0 (not occluded) to 1.0 (fully occluded), default = 0.0.
reverbocclusion
Occlusion factor for the reverb mix, from 0.0 (not occluded) to 1.0 (fully occluded), default = 0.0.
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.
Normally the volume is simply attenuated by the 'directocclusion' factor however if FMOD_INIT_CHANNEL_LOWPASS is specified frequency filtering will be used with a very small CPU hit.
Version 1.03.06 Built on Apr 17, 2014