FCameraFocusSettings

Settings to control camera focus

Windows
MacOS
Linux

References

Module

CinematicCamera

Header

/Engine/Source/Runtime/CinematicCamera/Public/CineCameraComponent.h

Include

#include "CineCameraComponent.h"

Syntax

struct FCameraFocusSettings

Remarks

Settings to control camera focus

Variables

Name Description

Public variable

uint8: 1

 

bDrawDebugFocusPlane

True to draw a translucent plane at the current focus depth, for easy tweaking.

Public variable

uint8: 1

 

bSmoothFocusChanges

True to use interpolation to smooth out changes in focus distance, false for focus distance changes to be instantaneous.

Public variable

FColor

 

DebugFocusPlaneColor

For customizing the focus plane color, in case the default doesn't show up well in your scene.

Public variable

ECameraFocusMet...

 

FocusMethod

Which method to use to handle camera focus

Public variable

float

 

FocusOffset

Additional focus depth offset, used for manually tweaking if your chosen focus method needs adjustment

Public variable

float

 

FocusSmoothingInterpSpeed

Controls interpolation speed when smoothing focus distance changes.

Public variable

float

 

ManualFocusDistance

Manually-controlled focus distance (manual focus mode only)

Public variable

FCameraTracking...

 

TrackingFocusSettings

Settings to control tracking focus (tracking focus mode only)

Constructors

Name Description

Public function

FCameraFocusSettings()

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