Set Curve Interpolation
Set the interpolation and tangent mode on one key or on every key of a channel, WITHOUT changing any value. This is the shape-only edit: hf_set_curve_key changes what a key is worth, this changes how it gets there.
hf_set_curve_interpolationWriteArguments
| Name | Type | Description |
|---|---|---|
curvereq | string | |
interpolationreq | string | 'step' and 'stepped' both mean constant; 'auto' means cubic. linear | constant | step | stepped | cubic | auto |
channel | integer = 0 | |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
tangent | string | Only meaningful for cubic keys. 'smartauto' is a DIFFERENT curve shape from 'auto', not a rename: it is the engine's newer smoothing. The three smart spellings are the same mode. auto | smartauto | smart auto | smart_auto | user | break |
time | number | One key's time. Omit to apply to EVERY key on the channel. |
Related tools
Nearby in Data assets:
- Remove Curve Key
- Remove Data Table Row
- Remove Enum Entry
- Remove Struct Member
- Rename Data Table Row
- Set Curve Key
- Set Enum Entry
- Set Struct Member
All 25 tools in Data assets — 16 more not listed here.