eval

open fun eval(@NotNull context: @NotNull KeyframeRuntimeContext): Float

Evaluates this keyframe with the supplied runtime context.


float value = Keyframe.of(2F).eval(KeyframeRuntimeContext.empty());

Return

the evaluated scalar value

Since

3.7.0

Parameters

context

the runtime query context

Throws

if runtime evaluation fails