interpolatorFor

@NotNull
open fun interpolatorFor(@NotNull vectors: @NotNull List<KeyframePoint>): @NotNull InterpolationUtil.VectorPointBuilder

Creates a vector sampler for nondecreasing sample times in seconds. For a track with at least two points, the sampler flags a discontinuous transition at the next keyframe's floored tick. Samples past the last point use that point's continuity.


var sampler = InterpolationUtil.interpolatorFor(points);
var sample = sampler.build(0.05F);

Return

the vector sampler with interpolation flags

Parameters

vectors

keyframe points in time order