APlayerController::ClientSetCameraFade

Tell client to fade camera bEnableFading - true if we should apply FadeColor/FadeAmount to the screen FadeColor - Color to fade to FadeAlpha - Contains the start fade (X) and end fade (Y) values to apply.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Syntax

void ClientSetCameraFade
(
    bool bEnableFading,
    FColor FadeColor,
    FVector2D FadeAlpha,
    float FadeTime,
    bool bFadeAudio,
    bool bHoldWhenFinished
)

Remarks

Tell client to fade camera bEnableFading - true if we should apply FadeColor/FadeAmount to the screen FadeColor - Color to fade to FadeAlpha - Contains the start fade (X) and end fade (Y) values to apply. A start fade of less than 0 will use the screen's current fade value FadeTime - length of time for fade to occur over bFadeAudio - true to apply fading of audio alongside the video

Parameters

Parameter

Description

bHoldWhenFinished

True for fade to hold at the ToAlpha until fade is disabled

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss