|
Motive Animation System
An open source project by
FPL.
|
A target curve shape for the motivator. More...
#include <target.h>
A target curve shape for the motivator.
The curve shape is defined by the typical distance to travel, the time it takes to travel it, and the bias. Using these variables, the actual time it takes to travel the curve will be calculated.
Public Member Functions | |
| MotiveCurveShape (float typical_delta_value, float typical_total_time, float bias) | |
Public Attributes | |
| float | typical_delta_value |
| The typical difference between the start and end values. | |
| float | typical_total_time |
| The typical time it takes to go the typical distance. | |
| float | bias |
| float motive::MotiveCurveShape::bias |
Determines how much the curve should ease-in and how much it should ease-out. Should be a value from 0.0 to 1.0. Examples of potential bias values and what they would represent: 0.0: ease-in but no ease out (a.k.a. "fly-out"). 0.3: ease-in more slowly and ease-out more quickly (i.e. less responsive). 0.5: symmetrical curve: equal ease-in and ease-out. 0.7: ease-out more slowly and ease-in more quickly (i.e. more reponsive). 1.0: ease-out but no ease in (a.k.a. "fly-in").