Interface for animation curves of different types. More...
#include <MultiWidgets/AnimationCurve.hpp>
Public Member Functions | |
| virtual IAnimationCurve * | clone () const =0 |
| Create a copy of the curve. More... | |
| virtual void | evaluate (float t, Valuable::Attribute *attribute) const =0 |
| Evaluate the curve at given position. More... | |
| IAnimationCurve () | |
| Constructor. | |
| virtual float | length () const =0 |
| Get the length of the curve in seconds. More... | |
| virtual | ~IAnimationCurve () |
| Destructor. | |
Interface for animation curves of different types.
|
pure virtual |
Create a copy of the curve.
Implemented in MultiWidgets::AnimationCurve< T >.
|
pure virtual |
Evaluate the curve at given position.
| t | evaluation point on the curve |
| attribute | attribute to store the result into |
Implemented in MultiWidgets::AnimationCurve< T >.
|
pure virtual |
Get the length of the curve in seconds.
Implemented in MultiWidgets::AnimationCurve< T >.