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
);

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.03.06 Built on Apr 17, 2014