Skip to content
Jigwright
HullForge docs

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_interpolationWrite

Arguments

NameTypeDescription
curvereqstring
interpolationreqstring'step' and 'stepped' both mean constant; 'auto' means cubic.
linear | constant | step | stepped | cubic | auto
channelinteger
= 0
forceboolean
= 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.
tangentstringOnly 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
timenumberOne key's time. Omit to apply to EVERY key on the channel.

Nearby in Data assets:

All 25 tools in Data assets — 16 more not listed here.