of
@NotNull
Creates a compiled vector from its scalar components.
var vector = KeyframeVector.of(Keyframe.of(2F), Keyframe.ZERO, Keyframe.ZERO);
Content copied to clipboard
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