Module animator

Source
Expand description

Animation engine

RAUI widget components can be animated by updating and adding animations using the Animator inside of widget lifecycle hooks and by reading the progress of those animations from the AnimatorStates provided by the WidgetContext.

See Animator and AnimatorStates for code samples.

Structs§

AnimatedValue
A single, animated value with a name and a duration
AnimatedValueProgress
The amount of progress made for a value in an animation
AnimationMessage
A MessageData implementation sent by running an Animation::Message animation
Animator
Allows manipulating widget animations
AnimatorState
The state of a single animation in a component
AnimatorStates
The current state of animations in a component

Enums§

Animation
Defines a widget animation
AnimationError
An error that may occur when animating a value