The HKeyframeAxisRotation class is used for rotations around an arbitrary axis. More...
#include <HBhvUtility.h>
Public Member Functions | |
virtual HKeyframe * | Clone () |
HKeyframeAxisRotation (float angle=0) | |
virtual void | Serialize (HUtilityXMLTag *xmlgen) |
Public Attributes | |
float | m_angle |
The HKeyframeAxisRotation class is used for rotations around an arbitrary axis.
HKeyframeAxisRotation::HKeyframeAxisRotation | ( | float | angle = 0 | ) | [inline] |
Constructs a HKeyframeAxisRotation object.
angle | The degrees of rotation for the keyframe. |
References HANIAxisRotation.
virtual HKeyframe* HKeyframeAxisRotation::Clone | ( | ) | [inline, virtual] |
This method makes an exact copy of the current HKeyframeAxisRotation and returns a pointer to the newly created HKeyframeAxisRotation object.
Reimplemented from HKeyframeRotation.
virtual void HKeyframeAxisRotation::Serialize | ( | HUtilityXMLTag * | xmlgen | ) | [virtual] |
Writes XML data to a buffer.
Reimplemented from HKeyframe.
The degrees of rotation.
Referenced by HBhvInterpolatorAxisRotate::Insert(), and HBhvInterpolatorAxisRotate::Replace().