Module animate

Source

Structs§

Animator
Animator_
Manages animations. After creating, start some animations then call update regularly. trigger_cb is a callback that’s called whenever a new animation is started, which can be used to start real-time updates or whatever.
HistPrimEaseAnimation
A simple animation easing a primitive to a new value. See HistPrimEaseExt which adds a method to HistPrim to start easings.

Traits§

EaseUnit
Working around rust infantilism.
HistPrimAnimation
Implement this to create custom antimations, including animations that run forever.
HistPrimEaseExt
Adds the method set_ease for animation to HistPrim to parallel set. duration is in milliseconds. f is a function that takes an input of 0..1 representing linear progress of the easing and returns another 0..1 representing the eased visual progress, as the methods in ezing.