Crazy Eddie's GUI System
0.8.4
|
Special interpolator class for Quaternion. More...
Public Types | |
typedef PropertyHelper < Quaternion > | Helper |
Public Member Functions | |
virtual | ~QuaternionSlerpInterpolator () |
destructor | |
virtual const String & | getType () const |
virtual String | interpolateAbsolute (const String &value1, const String &value2, float position) |
virtual String | interpolateRelative (const String &base, const String &value1, const String &value2, float position) |
virtual String | interpolateRelativeMultiply (const String &base, const String &value1, const String &value2, float position) |
Special interpolator class for Quaternion.
Quaternions can't be interpolated as floats and/or vectors, we have to use "Spherical linear interpolator" instead.
virtual const String& CEGUI::QuaternionSlerpInterpolator::getType | ( | ) | const [virtual] |
returns type string of this interpolator
Implements CEGUI::Interpolator.
virtual String CEGUI::QuaternionSlerpInterpolator::interpolateAbsolute | ( | const String & | value1, |
const String & | value2, | ||
float | position | ||
) | [virtual] |
this is used when Affector is set to apply values in absolute mode (application method == AM_Absolute)
Implements CEGUI::Interpolator.
virtual String CEGUI::QuaternionSlerpInterpolator::interpolateRelative | ( | const String & | base, |
const String & | value1, | ||
const String & | value2, | ||
float | position | ||
) | [virtual] |
this is used when Affector is set to apply values in relative mode (application method == AM_Relative)
Implements CEGUI::Interpolator.
virtual String CEGUI::QuaternionSlerpInterpolator::interpolateRelativeMultiply | ( | const String & | base, |
const String & | value1, | ||
const String & | value2, | ||
float | position | ||
) | [virtual] |
this is used when Affector is set to apply values in relative multiply mode (application method == AM_RelativeMultiply)
Implements CEGUI::Interpolator.