Channel::get3DCustomRolloff

FMOD Studio API

Firelight Technologies FMOD Studio API

Channel::get3DCustomRolloff

Retrieves a pointer to the current custom rolloff curve.

C++ Syntax

FMOD_RESULT Channel::get3DCustomRolloff(
  FMOD_VECTOR **points,
  int *numpoints
);

C Syntax

FMOD_RESULT FMOD_Channel_Get3DCustomRolloff(
  FMOD_CHANNEL *channel,
  FMOD_VECTOR **points,
  int *numpoints
);

C# Syntax

RESULT Channel.get3DCustomRolloff(
  out IntPtr points,
  out int numpoints
);

JavaScript Syntax

Channel.get3DCustomRolloff(
  points,                          // writes value to points.val
  numpoints                        // writes value to numpoints.val
);

Parameters

points
Address of a variable to receive the pointer to the current custom rolloff point list. Optional, specify 0 or NULL to ignore.
numpoints
Address of a variable to receive the number of points int he current custom rolloff point list. Optional, specify 0 or NULL to ignore.

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