Class AnimationGenerator
java.lang.Object
kr.toxicity.model.api.data.blueprint.AnimationGenerator
Animation generator
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Map<BoneName, BlueprintAnimator> createMovements(float length, @NotNull List<BlueprintElement> children, @NotNull Map<BoneName, BlueprintAnimator.AnimatorData> pointMap) Creates animator from datavoidinterpolateRotation(@NotNull it.unimi.dsi.fastutil.floats.FloatSortedSet floats) Puts rotation-interpolated keyframe time to given setvoidinterpolateStep(@NotNull it.unimi.dsi.fastutil.floats.FloatSortedSet floats)
-
Method Details
-
createMovements
@NotNull public static @NotNull Map<BoneName,BlueprintAnimator> createMovements(float length, @NotNull @NotNull List<BlueprintElement> children, @NotNull @NotNull Map<BoneName, BlueprintAnimator.AnimatorData> pointMap) Creates animator from data- Parameters:
length- animation lengthchildren- childrenpointMap- point map- Returns:
- generated map
-
interpolateRotation
public void interpolateRotation(@NotNull @NotNull it.unimi.dsi.fastutil.floats.FloatSortedSet floats) Puts rotation-interpolated keyframe time to given set- Parameters:
floats- target set
-
interpolateStep
public void interpolateStep(@NotNull @NotNull it.unimi.dsi.fastutil.floats.FloatSortedSet floats)
-