unreal.InterpCurveMode

class unreal.InterpCurveMode

Bases: EnumBase

Describes shape of an interpolation curve (mirrored from Engine/Source/Runtime/Core/Public/Math/InterpCurvePoint.h).

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

CIM_CONSTANT: InterpCurveMode = Ellipsis

The out value is held constant until the next key, then will jump to that value.

Type:

2

CIM_CURVE_AUTO: InterpCurveMode = Ellipsis

A cubic-hermite curve between two keypoints, using Arrive/Leave tangents. These tangents will be automatically updated when points are moved, etc. Tangents are unclamped and will plateau at curve start and end points.

Type:

1

CIM_CURVE_AUTO_CLAMPED: InterpCurveMode = Ellipsis

A cubic-hermite curve between two keypoints, using Arrive/Leave tangents. These tangents will be automatically updated when points are moved, etc. Tangents are clamped and will plateau at curve start and end points.

Type:

5

CIM_CURVE_BREAK: InterpCurveMode = Ellipsis

A curve like CIM_Curve, but the arrive and leave tangents are not forced to be the same, so you can create a ‘corner’ at this key.

Type:

4

CIM_CURVE_USER: InterpCurveMode = Ellipsis

A smooth curve just like CIM_Curve, but tangents are not automatically updated so you can have manual control over them (eg. in Curve Editor).

Type:

3

CIM_LINEAR: InterpCurveMode = Ellipsis

A straight line between two keypoint values.

Type:

0