unreal.CameraAnimationParams

class unreal.CameraAnimationParams(play_rate: float = 0.0, scale: float = 0.0, ease_in_type: CameraAnimationEasingType = Ellipsis, ease_in_duration: float = 0.0, ease_out_type: CameraAnimationEasingType = Ellipsis, ease_out_duration: float = 0.0, loop: bool = False, start_offset: int = 0, random_start_time: bool = False, duration_override: float = 0.0, play_space: CameraAnimationPlaySpace = Ellipsis, user_play_space_rot: Rotator = Ellipsis)

Bases: StructBase

Parameter struct for adding new camera animations to UCameraAnimationCameraModifier

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: CameraAnimationCameraModifier.h

Editor Properties: (see get_editor_property/set_editor_property)

  • duration_override (float): [Read-Write] Override the duration of the animation with a new duration (including blends)

  • ease_in_duration (float): [Read-Write] Ease-in duration in seconds

  • ease_in_type (CameraAnimationEasingType): [Read-Write] Ease-in function type

  • ease_out_duration (float): [Read-Write] Ease-out duration in seconds

  • ease_out_type (CameraAnimationEasingType): [Read-Write] Ease-out function type

  • loop (bool): [Read-Write] Whether the camera animation should loop

  • play_rate (float): [Read-Write] Time scale for playing the new camera animation

  • play_space (CameraAnimationPlaySpace): [Read-Write] The transform space to use for the new camera shake

  • random_start_time (bool): [Read-Write] Whether the camera animation should have a random start time

  • scale (float): [Read-Write] Global scale to use for the new camera animation

  • start_offset (int32): [Read-Write] Offset, in frames, into the animation to start at

  • user_play_space_rot (Rotator): [Read-Write] User space to use when PlaySpace is UserDefined

property duration_override: float

[Read-Write] Override the duration of the animation with a new duration (including blends)

Type:

(float)

property ease_in_duration: float

[Read-Write] Ease-in duration in seconds

Type:

(float)

property ease_in_type: CameraAnimationEasingType

[Read-Write] Ease-in function type

Type:

(CameraAnimationEasingType)

property ease_out_duration: float

[Read-Write] Ease-out duration in seconds

Type:

(float)

property ease_out_type: CameraAnimationEasingType

[Read-Write] Ease-out function type

Type:

(CameraAnimationEasingType)

property loop: bool

[Read-Write] Whether the camera animation should loop

Type:

(bool)

property play_rate: float

[Read-Write] Time scale for playing the new camera animation

Type:

(float)

property play_space: CameraAnimationPlaySpace

[Read-Write] The transform space to use for the new camera shake

Type:

(CameraAnimationPlaySpace)

property random_start_time: bool

[Read-Write] Whether the camera animation should have a random start time

Type:

(bool)

property scale: float

[Read-Write] Global scale to use for the new camera animation

Type:

(float)

property start_offset: int

[Read-Write] Offset, in frames, into the animation to start at

Type:

(int32)

property user_play_space_rot: Rotator

[Read-Write] User space to use when PlaySpace is UserDefined

Type:

(Rotator)