weight

@NotNull
open fun weight(@NotNull keyframe: @NotNull Keyframe): @NotNull KeyframeVector

Multiplies each component by the supplied scalar weight.


var weighted = KeyframeVector.ZERO.weight(Keyframe.of(0.5F));

Return

the weighted vector

Since

3.7.0

Parameters

keyframe

the weight applied to each component