#include <ALinearInterp.h>
Class used to manage linear interpolation on data (used to fade between animation by changing animation weight)
◆ ALinearInterp()
ALinearInterp::ALinearInterp |
( |
Float |
start, |
|
|
Float |
end, |
|
|
ATimeValue |
start_t, |
|
|
ATimeValue |
l_t, |
|
|
const KigsID & |
data |
|
) |
| |
|
inline |
Constructor from a start value, an end value, a start time, a duration, and the data to interpolate
◆ ~ALinearInterp()
ALinearInterp::~ALinearInterp |
( |
| ) |
|
|
inline |
◆ GetData()
const KigsID& ALinearInterp::GetData |
( |
| ) |
const |
|
inline |
return a pointer on the starting data for the fading
◆ GetFade()
Float ALinearInterp::GetFade |
( |
ATimeValue |
t, |
|
|
bool & |
finished |
|
) |
| |
|
inline |
return the value of the fade ( in [start,end] ) for the given time
The documentation for this class was generated from the following file: