KeyframeDatapointVector

Three uncompiled scalar datapoints representing one animation vector.


var datapoints = KeyframeDatapointVector.of(
    KeyframeDatapoint.of(2F), KeyframeDatapoint.ZERO, KeyframeDatapoint.ZERO);

Since

3.7.0

Parameters

x

the X datapoint

y

the Y datapoint

z

the Z datapoint

Constructors

Link copied to clipboard
constructor()

Companion properties

Link copied to clipboard
The vector containing three numeric zero datapoints.

Companion functions

Link copied to clipboard
@NotNull
open fun of(@NotNull x: @NotNull KeyframeDatapoint, @NotNull y: @NotNull KeyframeDatapoint, @NotNull z: @NotNull KeyframeDatapoint): @NotNull KeyframeDatapointVector
Creates a vector from its component datapoints.

Functions

Link copied to clipboard
@NotNull
open fun compile(@NotNull context: @NotNull KeyframeCompileContext): @NotNull KeyframeVector
Compiles each component with the same animation time.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun toString(): @NotNull String