Skip to content

FadingGroup_GetLevelPercent

function

Delphi
function FadingGroup_GetLevelPercent (FadingGroupId: LongInt): LongInt;
C++Builder
System::LongInt __fastcall FadingGroup_GetLevelPercent(System::LongInt FadingGroupId);
C#
public int FadingGroup_GetLevelPercent(int FadingGroupId);
VB.NET
Public Function FadingGroup_GetLevelPercent(FadingGroupId As Integer) As Integer
C++/Qt
int FadingGroup_GetLevelPercent (int FadingGroupId);

Returns the current fading level of the group: 0% = fully visible, 100% = fully faded out. This function is designed to be polled: it returns -1 (without logging an error) if FadingGroupId does not identify an existing group.