PcoWSkbVqDnWTu_dm2ix
The information on this page may no longer be accurate. To see the latest, go to our new and improved documentation. You can also learn more about the future of documentation.
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.