HKeyframeAxisRotation Class Reference

The HKeyframeAxisRotation class is used for rotations around an arbitrary axis. More...

#include <HBhvUtility.h>

Public Member Functions

virtual HKeyframeClone ()
 
 HKeyframeAxisRotation (float angle=0)
 
virtual void Serialize (HUtilityXMLTag *xmlgen)
 
- Public Member Functions inherited from HKeyframeRotation
 HKeyframeRotation ()
 
- Public Member Functions inherited from HKeyframe
 HKeyframe ()
 
virtual void SetConstant (bool constant)
 
virtual void SetEaseInOut (bool easeinout)
 
virtual void SetRelative (bool relative)
 

Public Attributes

float m_angle
 
- Public Attributes inherited from HKeyframeRotation
bool m_bLinear
 
HANIRotationType m_rotationtype
 
- Public Attributes inherited from HKeyframe
bool m_bConstant
 
bool m_bEaseInOut
 
bool m_bRelative
 
HANIKeyframeType m_type
 

Detailed Description

The HKeyframeAxisRotation class is used for rotations around an arbitrary axis.

Constructor & Destructor Documentation

◆ HKeyframeAxisRotation()

HKeyframeAxisRotation::HKeyframeAxisRotation ( float  angle = 0)
inline

Constructs a HKeyframeAxisRotation object.

Parameters
angleThe degrees of rotation for the keyframe.

References HANIAxisRotation.

Member Function Documentation

◆ Clone()

virtual HKeyframe* HKeyframeAxisRotation::Clone ( )
inlinevirtual

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

Returns
A pointer to newly created HKeyframeAxisRotation object.

Reimplemented from HKeyframeRotation.

◆ Serialize()

virtual void HKeyframeAxisRotation::Serialize ( HUtilityXMLTag *  xmlgen)
virtual

Writes XML data to a buffer.

Reimplemented from HKeyframe.

Member Data Documentation

◆ m_angle

float HKeyframeAxisRotation::m_angle

The documentation for this class was generated from the following file: