ChannelControl::get3DConeSettings

FMOD Studio API

Firelight Technologies FMOD Studio API

ChannelControl::get3DConeSettings

Retrieves the angles that define the sound projection cone including the volume when outside the cone.

C++ Syntax

FMOD_RESULT ChannelControl::get3DConeSettings(
  float *insideconeangle,
  float *outsideconeangle,
  float *outsidevolume
);

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