AnimationRepeatMode
Options that determine whether an animation replays after completion.
Declaration
enum AnimationRepeatModeOverview
Adopters of AnimationDefinition, such as SampledAnimation, offer repeat options of this type through the repeatMode property.
To select a behavior, set the repeat mode as you configure your animation, as in the following example:
let clip = FromToByAnimation<Transform>()
clip.repeatMode = .repeat