Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Public Member Functions | List of all members
ALinearInterp Class Reference

#include <ALinearInterp.h>

Public Member Functions

 ALinearInterp (Float start, Float end, ATimeValue start_t, ATimeValue l_t, const KigsID &data)
 ~ALinearInterp ()
Float GetFade (ATimeValue t, bool &finished)
const KigsID & GetData () const

Detailed Description

Class used to manage linear interpolation on data (used to fade between animation by changing animation weight)

Constructor & Destructor Documentation

◆ ALinearInterp()

ALinearInterp::ALinearInterp ( Float  start,
Float  end,
ATimeValue  start_t,
ATimeValue  l_t,
const KigsID &  data 

Constructor from a start value, an end value, a start time, a duration, and the data to interpolate

◆ ~ALinearInterp()

ALinearInterp::~ALinearInterp ( )


Member Function Documentation

◆ GetData()

const KigsID& ALinearInterp::GetData ( ) const

return a pointer on the starting data for the fading

◆ GetFade()

Float ALinearInterp::GetFade ( ATimeValue  t,
bool &  finished 

return the value of the fade ( in [start,end] ) for the given time

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