eval
Evaluates this vector with the shared empty runtime context.
var position = KeyframeVector.ZERO.eval();
Content copied to clipboard
Return
a new vector containing the evaluated components
Since
3.7.0
Throws
if evaluating a component throws
Evaluates this vector with the supplied runtime context.
var position = vector.eval(context);
Content copied to clipboard
Return
a new vector containing the evaluated components
Since
3.7.0
Parameters
context
the runtime context passed to each component
Throws
if evaluating a component throws
@NotNull
Evaluates each component and passes the results to a destination operation.
vector.eval(context, position, KeyframeOperator.ADD);
Content copied to clipboard
Return
the vector returned by the operation
Since
3.7.0
Parameters
context
the runtime context passed to each component
dest
the destination vector passed to the operation
operator
the operation that combines the evaluated values with the destination
Throws
if a component evaluation or the operation throws