Skip to content

Screen Fade Gameplay ​

UFPTask_ScreenFade · Inherits UFlowPilotTask → UObject · Tasks/FPTask_ScreenFade.h

ScreenFade.

  • Allows Starting at a particular screen color
  • Allows Fading towards another color over time
  • Allows Fading Audio in Sync
  • Options to keep Fade at the end of the transition

Properties ​

PropertyDefaultDescription
Player Camera Index
PlayerCameraIndex · uint8
0Player camera index, usually 0 for first/single player
Fade Type
FadeType · EFPFadeType
Fade InFadeType controls if you want to go from Transparent to Color (FadeIn), or inverse (FadeOut)
Fade Color
FadeColor · FLinearColor
FLinearColor::BlackColor to Fade Screen/Camera to.
Fade Duration
FadeDuration · float
1.0Fade Duration
Units: s
Sync Audio Fade
bSyncAudioFade · bool
trueOption to sync audio with the fade
Hold Fade When Complete
bHoldFadeWhenComplete · bool
trueOption to hold the fade when complete (true) or reset (false)

Common Task options

Every Task also has Task Name, Description and Enabled, see FlowPilot Task.

Enums ​

EFPFadeType ​

Fade Type

  • Determines Fade Direction
ValueDescription
Fade In
FadeIn
Fade From Transparency to Color
Fade Out
FadeOut
Fade From Color to Transparency