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
| Property | Default | Description |
|---|---|---|
Player Camera IndexPlayerCameraIndex · uint8 | 0 | Player camera index, usually 0 for first/single player |
Fade TypeFadeType · EFPFadeType | Fade In | FadeType controls if you want to go from Transparent to Color (FadeIn), or inverse (FadeOut) |
Fade ColorFadeColor · FLinearColor | FLinearColor::Black | Color to Fade Screen/Camera to. |
Fade DurationFadeDuration · float | 1.0 | Fade Duration Units: s |
Sync Audio FadebSyncAudioFade · bool | true | Option to sync audio with the fade |
Hold Fade When CompletebHoldFadeWhenComplete · bool | true | Option 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
| Value | Description |
|---|---|
Fade InFadeIn | Fade From Transparency to Color |
Fade OutFadeOut | Fade From Color to Transparency |