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 secondsease_in_type
(CameraAnimationEasingType): [Read-Write] Ease-in function typeease_out_duration
(float): [Read-Write] Ease-out duration in secondsease_out_type
(CameraAnimationEasingType): [Read-Write] Ease-out function typeloop
(bool): [Read-Write] Whether the camera animation should loopplay_rate
(float): [Read-Write] Time scale for playing the new camera animationplay_space
(CameraAnimationPlaySpace): [Read-Write] The transform space to use for the new camera shakerandom_start_time
(bool): [Read-Write] Whether the camera animation should have a random start timescale
(float): [Read-Write] Global scale to use for the new camera animationstart_offset
(int32): [Read-Write] Offset, in frames, into the animation to start atuser_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_type: CameraAnimationEasingType¶
[Read-Write] Ease-in function type
- Type:
- property ease_out_type: CameraAnimationEasingType¶
[Read-Write] Ease-out function type
- Type:
- 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:
- property random_start_time: bool¶
[Read-Write] Whether the camera animation should have a random start time
- Type:
(bool)