of
Creates a numeric datapoint.
var datapoint = KeyframeDatapoint.of(2F);
Content copied to clipboard
Return
the numeric datapoint
Since
3.7.0
Parameters
value
the numeric value
Creates a Molang datapoint for later compilation.
var datapoint = KeyframeDatapoint.of("q.anim_time * 2");
Content copied to clipboard
Return
the expression datapoint
Since
3.7.0
Parameters
expression
the Molang source expression