BezierConfig

constructor(@NotNull leftTime: @NotNull Vector3f, @NotNull leftValue: @NotNull Vector3f, @NotNull rightTime: @NotNull Vector3f, @NotNull rightValue: @NotNull Vector3f)

Creates per-axis Bézier handles from the components of four offset vectors.


var zero = new Vector3f();
var handles = new KeyframePoint.BezierConfig(zero, zero, zero, zero);

Since

3.7.0

Parameters

leftTime

the time offsets for the incoming (left) handle

leftValue

the value offsets for the incoming (left) handle

rightTime

the time offsets for the outgoing (right) handle

rightValue

the value offsets for the outgoing (right) handle

Throws

if any offset vector is null