psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::Interpolation< T > Struct Template Reference

Detailed Description

template<class T>
struct psychic_ui::Interpolation< T >

How a type becomes channels and back. A type with a specialization can be tweened (Animated<T>) and, as a style property, transition.

target(from, to) is where a move from from toward to ends, as value(channels, target) rebuilds it from channels (a length's unit comes from the target): to, or nothing when they don't interpolate (the move jumps).


The documentation for this struct was generated from the following file: