toBlueprint

@NotNull
open fun toBlueprint(@NotNull context: @NotNull ModelLoadContext, @NotNull elements: @NotNull List<BlueprintElement>): @NotNull BlueprintAnimation

Converts this raw animation data into a processed BlueprintAnimation. The transform timeline uses the tick-rounded duration, and effect keyframes are scheduled on the same tick grid. A null or blank blend weight defaults to one. Other values are applied to transform keyframes.


var blueprint = animation.toBlueprint(loadContext, roots);

Return

the blueprint animation

Since

1.15.2

Parameters

context

the model loading context

elements

the list of root blueprint elements