iterator

@NotNull
open fun iterator(@NotNull type: @NotNull AnimationIterator.Type): @NotNull AnimationIterator<AnimationProgress>

Creates an iterator for the keyframes based on a specified loop type.

Return

an animation iterator

Since

1.15.2

Parameters

type

the loop type (e.g., play_once, loop)