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

Settings to control the camera's lookat feature. More...

Public Member Functions

Functions
bool GetbEnableLookAtTracking () const
 True to enable lookat tracking, false otherwise.
void SetbEnableLookAtTracking (bool Value)
 True to enable lookat tracking, false otherwise.
bool GetbDrawDebugLookAtTrackingPosition () const
 True to draw a debug representation of the lookat location.
void SetbDrawDebugLookAtTrackingPosition (bool Value)
 True to draw a debug representation of the lookat location.
bool GetbAllowRoll () const
 True to allow user-defined roll, false otherwise.
void SetbAllowRoll (bool Value)
 True to allow user-defined roll, false otherwise.
FCameraLookatTrackingSettings & opAssign (FCameraLookatTrackingSettings Other)

Public Attributes

LookAt
TSoftObjectPtr< AActor > ActorToTrack
 If set, camera will track this actor's location.
FVector RelativeOffset
 Offset from actor position to look at. Relative to actor if tracking an actor, relative to world otherwise.
float32 LookAtTrackingInterpSpeed
 Controls degree of smoothing. 0.f for no smoothing, higher numbers for faster/tighter tracking.
Variables
bool bDrawDebugLookAtTrackingPosition
bool bAllowRoll
bool bEnableLookAtTracking

Detailed Description

Settings to control the camera's lookat feature.

Member Function Documentation

◆ GetbAllowRoll()

bool GetbAllowRoll ( ) const

True to allow user-defined roll, false otherwise.

◆ GetbDrawDebugLookAtTrackingPosition()

bool GetbDrawDebugLookAtTrackingPosition ( ) const

True to draw a debug representation of the lookat location.

◆ GetbEnableLookAtTracking()

bool GetbEnableLookAtTracking ( ) const

True to enable lookat tracking, false otherwise.

◆ opAssign()

◆ SetbAllowRoll()

void SetbAllowRoll ( bool Value)

True to allow user-defined roll, false otherwise.

◆ SetbDrawDebugLookAtTrackingPosition()

void SetbDrawDebugLookAtTrackingPosition ( bool Value)

True to draw a debug representation of the lookat location.

◆ SetbEnableLookAtTracking()

void SetbEnableLookAtTracking ( bool Value)

True to enable lookat tracking, false otherwise.

Member Data Documentation

◆ ActorToTrack

TSoftObjectPtr<AActor> ActorToTrack

If set, camera will track this actor's location.

◆ bAllowRoll

bool bAllowRoll

◆ bDrawDebugLookAtTrackingPosition

bool bDrawDebugLookAtTrackingPosition

◆ bEnableLookAtTracking

bool bEnableLookAtTracking

◆ LookAtTrackingInterpSpeed

float32 LookAtTrackingInterpSpeed

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

◆ RelativeOffset

FVector RelativeOffset

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