Skip to main content

hold_extend

Function hold_extend 

Source
pub fn hold_extend(clip: &mut Clip, hold_s: f64)
Expand description

Append one key per track duplicating its final value hold_s seconds after its last key (a linear hold — charge/block poses). The clip duration extends to the longest held end.

§Panics

Panics if a hand-built track violates the loader invariant that each key has a corresponding stored value (or cubic-spline triplet).