interpolatorFor
@NotNull
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);
Content copied to clipboard
Return
the vector sampler with interpolation flags
Parameters
vectors
keyframe points in time order