unreal.AccelerationDecelerationValueInterpolator

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

Bases: CameraValueInterpolator

A value interpolator that first accelerates up to a maximum speed, and then decelerates before reaching the target value.

C++ Source:

  • Plugin: GameplayCameras

  • Module: GameplayCameras

  • File: AccelerationDecelerationValueInterpolator.h

Editor Properties: (see get_editor_property/set_editor_property)

  • acceleration (float): [Read-Write] The acceleration rate at the start of interpolation.

  • deceleration (float): [Read-Write] The deceleration rate at the end of interpolation.

  • max_speed (float): [Read-Write] The maximum speed reachable during interpolation.

property acceleration: float

[Read-Write] The acceleration rate at the start of interpolation.

Type:

(float)

property deceleration: float

[Read-Write] The deceleration rate at the end of interpolation.

Type:

(float)

property max_speed: float

[Read-Write] The maximum speed reachable during interpolation.

Type:

(float)