Firelight Technologies FMOD Studio API
Channel::get3DConeSettings
Retrieves the angles that define the sound projection cone including the volume when outside the cone.
C++ Syntax
FMOD_RESULT Channel::get3DConeSettings(
float *insideconeangle,
float *outsideconeangle,
float *outsidevolume
);
C Syntax
FMOD_RESULT FMOD_Channel_Get3DConeSettings(
FMOD_CHANNEL *channel,
float *insideconeangle,
float *outsideconeangle,
float *outsidevolume
);
C# Syntax
RESULT Channel.get3DConeSettings(
out float insideconeangle,
out float outsideconeangle,
out float outsidevolume
);
JavaScript Syntax
Channel.get3DConeSettings(
insideconeangle, // writes value to insideconeangle.val
outsideconeangle, // writes value to outsideconeangle.val
outsidevolume // writes value to outsidevolume.val
);
Parameters
- insideconeangle
- Address of a variable that receives the inside cone angle, in degrees. This is the angle within which the sound is at its normal volume.
- outsideconeangle
- Address of a variable that receives the outside cone angle, in degrees. This is the angle outside of which the sound is at its outside volume.
- outsidevolume
- Address of a variable that receives the cone outside volume.
Return Values
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.
See Also
Version 1.10.03 Built on Feb 1, 2018