KeyframeDatapoint
interface KeyframeDatapoint
An uncompiled scalar animation value represented by a number or a Molang expression.
var datapoint = KeyframeDatapoint.of(2F);
var keyframe = datapoint.compile(new KeyframeCompileContext(0F));
Content copied to clipboard
Since
3.7.0
Inheritors
Types
Companion properties
Companion functions
Link copied to clipboard
@NotNull
Reads a numeric value or a Molang expression from a JSON primitive.
@NotNull
Reads a number or Molang expression, using the supplied default for null or blank input.
Link copied to clipboard
Creates a numeric datapoint.
Creates a Molang datapoint for later compilation.