G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FCameraFocusSettings Struct Reference

Settings to control camera focus. More...

Public Member Functions

Functions
void SetbDrawDebugFocusPlane (bool Value)
 True to draw a translucent plane at the current focus depth, for easy tweaking.
bool GetbSmoothFocusChanges () const
 True to use interpolation to smooth out changes in focus distance, false for focus distance changes to be instantaneous.
void SetbSmoothFocusChanges (bool Value)
 True to use interpolation to smooth out changes in focus distance, false for focus distance changes to be instantaneous.
FCameraFocusSettings & opAssign (FCameraFocusSettings Other)

Public Attributes

Focus Method
ECameraFocusMethod FocusMethod
 Which method to use to handle camera focus.
Focus Settings
float32 FocusOffset
 Additional focus depth offset, used for manually tweaking if your chosen focus method needs adjustment.
FColor DebugFocusPlaneColor
 For customizing the focus plane color, in case the default doesn't show up well in your scene.
float32 FocusSmoothingInterpSpeed
 Controls interpolation speed when smoothing focus distance changes. Ignored if bSmoothFocusChanges is false.
Manual Focus Settings
float32 ManualFocusDistance
 Manually-controlled focus distance (manual focus mode only).
Tracking Focus Settings
FCameraTrackingFocusSettings TrackingFocusSettings
 Settings to control tracking focus (tracking focus mode only).
Variables
bool bSmoothFocusChanges

Detailed Description

Settings to control camera focus.

Member Function Documentation

◆ GetbSmoothFocusChanges()

bool GetbSmoothFocusChanges ( ) const

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

◆ opAssign()

◆ SetbDrawDebugFocusPlane()

void SetbDrawDebugFocusPlane ( bool Value)

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

◆ SetbSmoothFocusChanges()

void SetbSmoothFocusChanges ( bool Value)

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

Member Data Documentation

◆ bSmoothFocusChanges

bool bSmoothFocusChanges

◆ DebugFocusPlaneColor

FColor DebugFocusPlaneColor

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

◆ FocusMethod

ECameraFocusMethod FocusMethod

Which method to use to handle camera focus.

◆ FocusOffset

float32 FocusOffset

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

◆ FocusSmoothingInterpSpeed

float32 FocusSmoothingInterpSpeed

Controls interpolation speed when smoothing focus distance changes. Ignored if bSmoothFocusChanges is false.

◆ ManualFocusDistance

float32 ManualFocusDistance

Manually-controlled focus distance (manual focus mode only).

◆ TrackingFocusSettings

FCameraTrackingFocusSettings TrackingFocusSettings

Settings to control tracking focus (tracking focus mode only).