weight

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

Multiplies this value by a weight evaluated with the same runtime context. Constant operands are folded when this keyframe is a Constant.


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

Return

this keyframe for the shared ONE, or the weighted keyframe

Since

3.7.0

Parameters

keyframe

the weight