unreal.CameraAnimationParams

class unreal.CameraAnimationParams(play_rate=1.0, scale=1.0, ease_in_type=CameraAnimationEasingType.LINEAR, ease_in_duration=0.0, ease_out_type=CameraAnimationEasingType.LINEAR, ease_out_duration=0.0, loop=False, random_start_time=False, duration_override=0.0, play_space=CameraAnimationPlaySpace.CAMERA_LOCAL, user_play_space_rot=[0.0, 0.0, 0.0])

Bases: unreal.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] Duration Override: Override the duration of the animation with a new duration (including blends)

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

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

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

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

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

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

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

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

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

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

property duration_override

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

Type

(float)

property ease_in_duration

[Read-Write] Ease in Duration: Ease-in duration in seconds

Type

(float)

property ease_in_type

[Read-Write] Ease in Type: Ease-in function type

Type

(CameraAnimationEasingType)

property ease_out_duration

[Read-Write] Ease Out Duration: Ease-out duration in seconds

Type

(float)

property ease_out_type

[Read-Write] Ease Out Type: Ease-out function type

Type

(CameraAnimationEasingType)

property loop

[Read-Write] Loop: Whether the camera animation should loop

Type

(bool)

property play_rate

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

Type

(float)

property play_space

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

Type

(CameraAnimationPlaySpace)

property random_start_time

[Read-Write] Random Start Time: Whether the camera animation should have a random start time

Type

(bool)

property scale

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

Type

(float)

property user_play_space_rot

[Read-Write] User Play Space Rot: User space to use when PlaySpace is UserDefined

Type

(Rotator)