Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Camera > API/Runtime/Engine/Camera/APlayerCameraManager
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Camera/PlayerCameraManager.h |
| Include | #include "Camera/PlayerCameraManager.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerCameraManager.cpp |
virtual void StartCameraFade
&40;
float FromAlpha,
float ToAlpha,
float Duration,
FLinearColor Color,
bool bShouldFadeAudio,
bool bHoldWhenFinished
&41;
Remarks
Camera fades. Does a camera fade to/from a solid color. Animates automatically. Camera fades
Parameters
| Name | Description |
|---|---|
| FromAlpha | Alpha at which to begin the fade. Range [0..1], where 0 is fully transparent and 1 is fully opaque solid color. |
| ToAlpha | Alpha at which to finish the fade. |
| Duration | How long the fade should take, in seconds. |
| Color | Color to fade to/from. |
| bShouldFadeAudio | True to fade audio volume along with the alpha of the solid color. |
| bHoldWhenFinished | True for fade to hold at the ToAlpha until explicitly stopped (e.g. with StopCameraFade) |