Skip to content

FadingGroup_SetCurve

function

Delphi
procedure FadingGroup_SetCurve (FadingGroupId: LongInt; Curve: TFadingCurve);
C++Builder
void __fastcall FadingGroup_SetCurve(System::LongInt FadingGroupId, TFadingCurve Curve);
C#
public void FadingGroup_SetCurve(int FadingGroupId, TFadingCurve Curve);
VB.NET
Public Sub FadingGroup_SetCurve(FadingGroupId As Integer, Curve As TFadingCurve)
C++/Qt
void FadingGroup_SetCurve (int FadingGroupId, TFadingCurve Curve);

selects the easing curve applied to the fade progression of the group:

  • fcv_Linear: constant fading speed
  • fcv_SmoothStep: smooth acceleration and deceleration (ease-in / ease-out)

The default curve of a new group is fcv_SmoothStep.