HKeyframe
Fields
bool |
|
bool |
|
bool |
Functions
void |
|
void |
|
void |
|
void |
Detailed Description
-
class HKeyframe
The HKeyframe class is the base class for all keyframe types.
Every interpolator has an array of keyframe values. Based on the given time an interpolation is performed between those keyframes which contribute to the overall animation. Keyframes can not only hold positional information or rotations but also information like color or segment identifiers. For performance reasons, all data members of the various keyframe classes are defined as public.
Subclassed by HKeyframe3String, HKeyframeChannel, HKeyframeRotation, HKeyframeString
Public Functions
-
inline virtual ~HKeyframe()
-
inline virtual HKeyframe *Clone()
This method makes an exact copy of the current HKeyframe and returns a pointer to the newly created HKeyframe object.
- Returns
A pointer to the newly created HKeyframe object.
-
inline virtual void Serialize(HUtilityXMLTag *xmlgen)
Writes XML data to a buffer.
-
inline virtual void SetConstant(bool constant)
Use this method to keep the keyframe value constant.
- Parameters
constant – Pass true if you want to keep the same value as the previous keyframe or false if you want to use a different value.
-
inline virtual void SetEaseInOut(bool easeinout)
Use this method to indicate that you want a smooth transition during the start and end of the animation.
- Parameters
easeinout – Pass true to turn on easing in and out or false if you don’t want this behavior.
-
inline virtual void SetRelative(bool relative)
This feature is not yet implemented.
Public Members
-
HANIKeyframeType m_type
Type of Keyframe
-
bool m_bConstant
The value is true if this keyframe’s value is the same value as the previous keyframe.
-
bool m_bRelative
This feature is not yet implemented.
-
bool m_bEaseInOut
The value is true if smooth transition for start and stop is turned on or false if otherwise.
-
inline virtual ~HKeyframe()