Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
void ClientSetCameraFade
&40;
bool bEnableFading,
FColor FadeColor,
FVector2D FadeAlpha,
float FadeTime,
bool bFadeAudio,
bool bHoldWhenFinished
&41;
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
| Name | Description |
|---|---|
| bHoldWhenFinished | True for fade to hold at the ToAlpha until fade is disabled |