Skip to content

FadingGroup_Create

function

Delphi
function FadingGroup_Create (DurationMs: LongInt; FadeToRGBColor: LongInt = 0): LongInt;
C++Builder
System::LongInt __fastcall FadingGroup_Create(System::LongInt DurationMs, System::LongInt FadeToRGBColor = 0x0);
C#
public int FadingGroup_Create(int DurationMs, int FadeToRGBColor);
VB.NET
Public Function FadingGroup_Create(DurationMs As Integer, FadeToRGBColor As Integer) As Integer
C++/Qt
int FadingGroup_Create (int DurationMs, int FadeToRGBColor);

Creates a fading group used to fade the main video and the text/image overlays assigned to the group in and out synchronously, and returns its identifier. DurationMs sets the duration of a complete fade, in milliseconds. FadeToRGBColor sets the solid color the main video fades to (black by default). The function returns the FadingGroupId to pass to the other FadingGroup_ functions, or -1 upon failure. By default a new group does not include the main video: see FadingGroup_IncludeMainVideo. Level semantics for the whole fading API: 0% = fully visible, 100% = fully faded out.