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 secondsease_in_type
(CameraAnimationEasingType): [Read-Write] Ease in Type: Ease-in function typeease_out_duration
(float): [Read-Write] Ease Out Duration: Ease-out duration in secondsease_out_type
(CameraAnimationEasingType): [Read-Write] Ease Out Type: Ease-out function typeloop
(bool): [Read-Write] Loop: Whether the camera animation should loopplay_rate
(float): [Read-Write] Play Rate: Time scale for playing the new camera animationplay_space
(CameraAnimationPlaySpace): [Read-Write] Play Space: The transform space to use for the new camera shakerandom_start_time
(bool): [Read-Write] Random Start Time: Whether the camera animation should have a random start timescale
(float): [Read-Write] Scale: Global scale to use for the new camera animationuser_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_type¶
[Read-Write] Ease in Type: Ease-in function type
- Type
- 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
- 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