constantBuilder
Creates a fixed-capacity builder for constant samples. Each sample is evaluated with an empty context when appended.
var builder = KeyframeTimeline.constantBuilder(1);
builder.append(KeyframeVector.ZERO);
Content copied to clipboard
Return
the constant timeline builder
Since
3.7.0
Parameters
size
the number of samples. Use a value from zero through Integer.MAX_VALUE / 3
Throws
if the computed component array length is negative