#include <fcurve.h>
Public Member Functions | |
| FCurve () | |
| ~FCurve () override | |
| V | evaluate (const T &t) |
| void | invalidate () |
| NAPAPI | FCurve () |
| NAPAPI | FCurve () |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () |
| virtual bool | init (utility::ErrorState &errorState) |
| virtual void | onDestroy () |
| Object (Object &)=delete | |
| Object & | operator= (const Object &)=delete |
| Object (Object &&)=delete | |
| Object & | operator= (Object &&)=delete |
Public Attributes | |
| std::vector< FCurvePoint< T, V > > | mPoints |
Public Attributes inherited from Object | |
| std::string | mID |
| Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
A 1-D curve that can be used to map one value to another. This resource can be used to animate a value over time. The times and values of this curve are unbounded.
| T | type of the time parameter |
| V | type of the value parameter |
| FCurve | ( | ) |
Default constructor
|
override |
Destructor
| NAPAPI FCurve | ( | ) |
| NAPAPI FCurve | ( | ) |
| V evaluate | ( | const T & | t | ) |
Evaluate this curve at time t
| t | point in time to get the interpolated curve value for |
| void invalidate | ( | ) |
Mark curve as dirty and ensure points are sorted on next evaluation
| std::vector<FCurvePoint<T, V> > mPoints |
The points that define this shape of this curve