Constant
A numeric datapoint that compiles to a constant scalar keyframe.
var datapoint = new KeyframeDatapoint.Constant(2F);
Content copied to clipboard
Since
3.7.0
Parameters
value
the numeric source value
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.