Module sixtyfps_corelib::animations [−][src]
The animation system
Structs
AnimationDriver | The AnimationDriver |
Instant | Represent an instant, in miliseconds since the AnimationDriver’s initial_instant |
Enums
EasingCurve | The representation of an easing curve, for animations |
Constants
CURRENT_ANIMATION_DRIVER | This is the default instance of the animation driver that’s used to advance all property animations at the same time. |
Functions
current_tick | The current instant that is to be used for animation using this function register the current binding as a dependency |
easing_curve | map a value betwen 0 and 1 to another value between 0 and 1 according to the curve |
update_animations | Update the glibal animation time to the current time |