# HKeyframeRotation

## Fields

`HANIRotationType` | `m_rotationtype`
bool | `m_bLinear`

## Functions

| `HKeyframeRotation`
| `~HKeyframeRotation`
HKeyframe * | `Clone`

## Detailed Description

class HKeyframeRotation : public HKeyframe

  The HKeyframeRotation class is the base class for all rotation related keyframes.

  Subclassed by HKeyframeAxisRotation, HKeyframeMatrix, HKeyframeQuatSlerp, HKeyframeQuatSquad

  Public Functions

  inline HKeyframeRotation()

    Constructs a HKeyframeRotation object.

  inline virtual ~HKeyframeRotation()
  inline virtual HKeyframe *Clone()

    This method makes an exact copy of the current HKeyframeRotation and returns a pointer to the newly created HKeyframeRotation object.

    Returns

      A pointer to the newly created HKeyframeRotation object.

  Public Members

  HANIRotationType m_rotationtype

    The type of rotation.

  bool m_bLinear

    The value is true if the rotation is linear or false if the rotation is not non-linear.