UIElement.onAnimate

Called periodically for every UIElement. Override this to create animations. Using setDirty there allows to redraw an element continuously (like a meter or an animated object). Warning: Summing dt will not lead to a time that increase like time. time can go backwards if the window was reopen. time is guaranteed to increase as fast as system time but is not synced to audio time.

class UIElement
protected public nothrow @nogc protected
void
onAnimate
(
double dt
,
double time
)

Meta