unreal.BaseAimAtCameraAction

class unreal.BaseAimAtCameraAction(outer: Object | None = None, name: Name | str = 'None')

Bases: CameraAction

The base class for all aiming camera actions.

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: BaseAimAtCameraAction.h

Editor Properties: (see get_editor_property/set_editor_property)

  • interpolator (CameraValueInterpolator): [Read-Write] The interpolation to use for aiming.

  • lock_on_angle_tolerance (float): [Read-Write] The tolerance within which we can consider the aiming to be locked on target.

  • lock_on_policy (AimAtCameraActionLockOnPolicy): [Read-Write] The lock-on policy.

  • propagate_to_new_camera_rigs (bool): [Read-Write] Whether this action will be cloned onto new camera rigs as they get activated on the main layer.

  • target_framing (Vector2D): [Read-Write] Where to aim the target in screen-space.

  • time_out (float): [Read-Write] The time, in seconds, after which the action should be automatically stopped. Zero or negative time means that this action never times out (it either completes on its own, or gets stopped by the user).

property interpolator: CameraValueInterpolator

[Read-Write] The interpolation to use for aiming.

Type:

(CameraValueInterpolator)

property lock_on_angle_tolerance: float

[Read-Write] The tolerance within which we can consider the aiming to be locked on target.

Type:

(float)

property lock_on_policy: AimAtCameraActionLockOnPolicy

[Read-Write] The lock-on policy.

Type:

(AimAtCameraActionLockOnPolicy)

property target_framing: Vector2D

[Read-Write] Where to aim the target in screen-space.

Type:

(Vector2D)