PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

KeyInterpolationMode

KeyInterpolationMode

Describes the interpolation method between two keys.

If referencing a curve with no keys, KeyInterpolationMode will evaluate to nil. If only one key exists, the value will remain Constant using the value of that one key. When sampling a curve outside of the curve time range, the curve will evaluate as if it had only one key, the closest key to the sampling time.


Enums

Name Value Description

Constant

0

The value of the first key

Linear

1

Linear interpolation between the values of the first and second keys

Cubic

2

Cubic interpolation of first key value and its right tangent and second key value and its left tangent.