# HKeyframeMatrix

## Fields

float | `m_matrix`
int | `m_ExtraSpins`

## Functions

| `HKeyframeMatrix`
| `~HKeyframeMatrix`
HKeyframe * | `Clone`
void | `Serialize`

## Detailed Description

class HKeyframeMatrix : public HKeyframeRotation

  The HKeyframeQuatSquad class is used for non-linear quaternion based rotation.

  Public Functions

  inline HKeyframeMatrix(float matrix[] = 0)

    Constructs a HKeyframeQuatSquad object.

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

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

    Returns

      A pointer to the newly created HKeyframeQuatSquad object.

  virtual void Serialize(HUtilityXMLTag *xmlgen)

    Writes XML data to a buffer.

  Public Members

  float m_matrix[16]

    The quaternion.

  int m_ExtraSpins