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] If set, camera will track this actor’s location

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

  • draw_debug_look_at_tracking_position (bool): [Read-Write] True to draw a debug representation of the lookat location

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

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

  • relative_offset (Vector): [Read-Write] 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] If set, camera will track this actor’s location

Type:

(Actor)

property allow_roll: bool

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

Type:

(bool)

property draw_debug_look_at_tracking_position: bool

[Read-Write] True to draw a debug representation of the lookat location

Type:

(bool)

property enable_look_at_tracking: bool

[Read-Write] True to enable lookat tracking, false otherwise.

Type:

(bool)

property look_at_tracking_interp_speed: float

[Read-Write] Controls degree of smoothing. 0.f for no smoothing, higher numbers for faster/tighter tracking.

Type:

(float)

property relative_offset: Vector

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

Type:

(Vector)