periodic(_:delay:)
A repeat behavior with a preferred play count and delay using periodic animations. Periodic animations play the effect at regular intervals starting and stopping each time.
Declaration
static func periodic(_ count: Int? = nil, delay: Double? = nil) -> SymbolEffectOptions.RepeatBehaviorParameters
- count:
The preferred number of times to play the effect, or nil to request it play indefinitely. Very large or small values may be clamped.
- delay:
The preferred delay between repetitions, in seconds, or nil to request the default delay.
Return Value
A new behavior with the preferred play count and delay using periodic animations.