TempoDelegate
@MainActor
public protocol TempoDelegate : AnyObject
This protocol defines methods that are called on delegate objects which listen for update beats from a Tempo
object.
-
Sends an update beat that should prompt motion classes to recalculate movement values.
Declaration
Swift
@MainActor func tempoBeatUpdate(_ timestamp: TimeInterval)
Parameters
timestamp
A timestamp by which motion classes can calculate new delta values.