unreal.CameraAction

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

Bases: Object

The base class for a camera action. A camera action is a potentially long-running operation that applies to camera rig instances updating in the main layer.

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: CameraAction.h

Editor Properties: (see get_editor_property/set_editor_property)

  • 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.

  • 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 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.

Type:

(bool)

property 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).

Type:

(float)