addUpdater
fun <T : View> T.addUpdater(first: Boolean = true, firstTime: TimeSpan = TimeSpan.ZERO, updatable: T.(TimeSpan) -> Unit): CloseableCancellable
Adds a block that will be executed per frame to this view. As parameter the block will receive a TimeSpan with the time elapsed since the previous frame.
fun <T : View> T.addUpdater(referenceFps: Frequency, first: Boolean = true, updatable: T.(scale: Float) -> Unit): Cancellable