of

@NotNull
open fun of(@NotNull x: @NotNull Keyframe, @NotNull y: @NotNull Keyframe, @NotNull z: @NotNull Keyframe): @NotNull KeyframeVector

Creates a compiled vector from its scalar components.


var vector = KeyframeVector.of(Keyframe.of(2F), Keyframe.ZERO, Keyframe.ZERO);

Return

the shared zero vector if all components report zero, or a new vector

Since

3.7.0

Parameters

x

the X keyframe

y

the Y keyframe

z

the Z keyframe