FadingGroup_SetLevelPercent
Delphi
procedure FadingGroup_SetLevelPercent (FadingGroupId: LongInt; LevelPercent: LongInt);
C++Builder
void __fastcall FadingGroup_SetLevelPercent(System::LongInt FadingGroupId, System::LongInt LevelPercent);
C#
public void FadingGroup_SetLevelPercent(int FadingGroupId, int LevelPercent);
VB.NET
Public Sub FadingGroup_SetLevelPercent(FadingGroupId As Integer, LevelPercent As Integer)
C++/Qt
void FadingGroup_SetLevelPercent (int FadingGroupId, int LevelPercent);
Sets the fading level of the group immediately (without animation): 0% = fully visible, 100% = fully faded out. Any fade in progress on the group is stopped.
Typical uses: hide the members of an incoming scene (level 100%) before triggering a FadingGroup_CrossFade, or start in black: groups preset to 100% before OpenPlayer make the first frames render fully faded, then a FadingGroup_FadeIn from the OnPlayerOpened event fades them up.