UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FCameraLookatTrackingSettings Struct Reference

#include <CineCameraActor.h>

Public Member Functions

 FCameraLookatTrackingSettings ()
 

Public Attributes

uint8 bEnableLookAtTracking: 1
 
uint8 bDrawDebugLookAtTrackingPosition: 1
 
float LookAtTrackingInterpSpeed
 
FRotator LastLookatTrackingRotation
 
uint32 LastLookatTrackingRotationFrame
 
TSoftObjectPtr< AActorActorToTrack
 
FVector RelativeOffset
 
uint8 bAllowRoll: 1
 

Detailed Description

Settings to control the camera's lookat feature

Constructor & Destructor Documentation

◆ FCameraLookatTrackingSettings()

FCameraLookatTrackingSettings::FCameraLookatTrackingSettings ( )
inline

Member Data Documentation

◆ ActorToTrack

TSoftObjectPtr<AActor> FCameraLookatTrackingSettings::ActorToTrack

If set, camera will track this actor's location

◆ bAllowRoll

uint8 FCameraLookatTrackingSettings::bAllowRoll

True to allow user-defined roll, false otherwise.

◆ bDrawDebugLookAtTrackingPosition

uint8 FCameraLookatTrackingSettings::bDrawDebugLookAtTrackingPosition

True to draw a debug representation of the lookat location

◆ bEnableLookAtTracking

uint8 FCameraLookatTrackingSettings::bEnableLookAtTracking

True to enable lookat tracking, false otherwise.

◆ LastLookatTrackingRotation

FRotator FCameraLookatTrackingSettings::LastLookatTrackingRotation

Last known lookat tracking rotation (used during interpolation)

◆ LastLookatTrackingRotationFrame

uint32 FCameraLookatTrackingSettings::LastLookatTrackingRotationFrame

The frame we set the above on, so the camera component can restore it

◆ LookAtTrackingInterpSpeed

float FCameraLookatTrackingSettings::LookAtTrackingInterpSpeed

Controls degree of smoothing. 0.f for no smoothing, higher numbers for faster/tighter tracking.

◆ RelativeOffset

FVector FCameraLookatTrackingSettings::RelativeOffset

Offset from actor position to look at. Relative to actor if tracking an actor, relative to world otherwise.


The documentation for this struct was generated from the following file: