Firelight Technologies FMOD Studio API
Sets the angles that define the sound projection cone including the volume when outside the cone.
FMOD_RESULT ChannelControl::set3DConeSettings(
float insideconeangle,
float outsideconeangle,
float outsidevolume
);
insideconeangle
Inside cone angle, in degrees. This is the angle within which the sound is at its normal volume. Must not be greater than 'outsideconeangle'. Default = 360.
outsideconeangle
Outside cone angle, in degrees. This is the angle outside of which the sound is at its outside volume. Must not be less than 'insideconeangle'. Default = 360.
outsidevolume
Cone outside volume, from 0.0 to 1.0, default = 1.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.
To define the parameters per sound use Sound::set3DConeSettings.
Version 1.03.06 Built on Apr 17, 2014