Crazy Eddie's GUI System
0.8.4
|
Generic discrete relative interpolator class. More...
Public Types | |
typedef PropertyHelper< T > | Helper |
Public Member Functions | |
TplDiscreteRelativeInterpolator (const String &type) | |
virtual | ~TplDiscreteRelativeInterpolator () |
destructor | |
virtual String | interpolateRelative (const String &base, const String &value1, const String &value2, float position) |
Generic discrete relative interpolator class.
This class returns the value the position is closest to. It is different to discrete interpolator in interpolateRelative. It adds the resulting value to the base value.
You can use this on types that have operator+(T) overloaded
virtual String CEGUI::TplDiscreteRelativeInterpolator< T >::interpolateRelative | ( | const String & | base, |
const String & | value1, | ||
const String & | value2, | ||
float | position | ||
) | [inline, virtual] |
this is used when Affector is set to apply values in relative mode (application method == AM_Relative)
Reimplemented from CEGUI::TplDiscreteInterpolator< T >.