Sound::get3DCustomRolloff

FMOD Studio API

Firelight Technologies FMOD Studio API

Sound::get3DCustomRolloff

Retrieves a pointer to the sound's current custom rolloff curve.

C++ Syntax

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

C Syntax

FMOD_RESULT FMOD_Sound_Get3DCustomRolloff(
  FMOD_SOUND *sound,
  FMOD_VECTOR **points,
  int *numpoints
);

C# Syntax

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

JavaScript Syntax

Sound.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