unreal.CameraLookatTrackingSettings

class unreal.CameraLookatTrackingSettings(enable_look_at_tracking: bool = False, draw_debug_look_at_tracking_position: bool = False, look_at_tracking_interp_speed: float = 0.0, actor_to_track: Actor = Ellipsis, relative_offset: Vector = Ellipsis, allow_roll: bool = False)

Bases: StructBase

Settings to control the camera’s lookat feature

C++ Source:

  • Module: CinematicCamera

  • File: CineCameraActor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • actor_to_track (Actor): [Read-Write] Actor to Track: If set, camera will track this actor’s location

  • allow_roll (bool): [Read-Write] Allow Roll: True to allow user-defined roll, false otherwise.

  • draw_debug_look_at_tracking_position (bool): [Read-Write] Draw Debug Look at Tracking Position: True to draw a debug representation of the lookat location

  • enable_look_at_tracking (bool): [Read-Write] Enable Look at Tracking: True to enable lookat tracking, false otherwise.

  • look_at_tracking_interp_speed (float): [Read-Write] Look at Tracking Interp Speed: Controls degree of smoothing. 0.f for no smoothing, higher numbers for faster/tighter tracking.

  • relative_offset (Vector): [Read-Write] Relative Offset: Offset from actor position to look at. Relative to actor if tracking an actor, relative to world otherwise.

property actor_to_track: Actor

[Read-Write] Actor to Track: If set, camera will track this actor’s location

Type:

(Actor)

property allow_roll: bool

[Read-Write] Allow Roll: True to allow user-defined roll, false otherwise.

Type:

(bool)

property draw_debug_look_at_tracking_position: bool

[Read-Write] Draw Debug Look at Tracking Position: True to draw a debug representation of the lookat location

Type:

(bool)

property enable_look_at_tracking: bool

[Read-Write] Enable Look at Tracking: True to enable lookat tracking, false otherwise.

Type:

(bool)

property look_at_tracking_interp_speed: float

[Read-Write] Look at Tracking Interp Speed: Controls degree of smoothing. 0.f for no smoothing, higher numbers for faster/tighter tracking.

Type:

(float)

property relative_offset: Vector

[Read-Write] Relative Offset: Offset from actor position to look at. Relative to actor if tracking an actor, relative to world otherwise.

Type:

(Vector)