unreal.InterpCurveMode

class unreal.InterpCurveMode

Bases: unreal.EnumBase

Describes shape of an interpolation curve (mirrored from InterpCurvePoint.h).

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

CIM_CONSTANT

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

Type

2

CIM_CURVE_AUTO

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

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

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

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

A straight line between two keypoint values.

Type

0