unreal.CameraLookatTrackingSettings

class unreal.CameraLookatTrackingSettings(enable_look_at_tracking=False, draw_debug_look_at_tracking_position=False, look_at_tracking_interp_speed=0.0, actor_to_track=None, relative_offset=[0.0, 0.0, 0.0], allow_roll=False)

Bases: unreal.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

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

Type

(Actor)

property allow_roll

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

Type

(bool)

property draw_debug_look_at_tracking_position

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

Type

(bool)

property enable_look_at_tracking

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

Type

(bool)

property look_at_tracking_interp_speed

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

Type

(float)

property relative_offset

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

Type

(Vector)