The HKeyframeChannel class is the base class for all channel related keyframe types. More...
#include <HBhvUtility.h>
Public Member Functions | |
virtual HKeyframe * | Clone () |
HKeyframeChannel () | |
virtual void | Interpolate (HKeyframeChannel **posarray, int keyframe, float fraction, int length, HPoint &res) |
![]() | |
HKeyframe () | |
virtual void | Serialize (HUtilityXMLTag *xmlgen) |
virtual void | SetConstant (bool constant) |
virtual void | SetEaseInOut (bool easeinout) |
virtual void | SetRelative (bool relative) |
Public Attributes | |
HANIChannelType | m_channeltype |
HPoint | m_cp |
![]() | |
bool | m_bConstant |
bool | m_bEaseInOut |
bool | m_bRelative |
HANIKeyframeType | m_type |
The HKeyframeChannel class is the base class for all channel related keyframe types.
Channel keyframes are used for positional values as well as colour and scale.
|
inline |
Constructs an HKeyframeChannel object.
References HANIChannel.
|
inlinevirtual |
This method makes an exact copy of the current HKeyframeChannel and returns a pointer to the newly created HKeyframeChannel object.
Reimplemented from HKeyframe.
Reimplemented in HKeyframeChannelFollowPath, HKeyframeChannelCurve, HKeyframeChannelDiscrete, and HKeyframeChannelLinear.
|
inlinevirtual |
Calculates the interpolation between this keyframe and the next keyframe.
posarray | The array of HKeyframeChannel objects. |
keyframe | They current keyframe number. |
fraction | The fraction from this keyframe to next. |
length | The number of entries in the keyframe array. |
res | Returns the interpolation result. |
Reimplemented in HKeyframeChannelFollowPath, HKeyframeChannelCurve, HKeyframeChannelDiscrete, and HKeyframeChannelLinear.
HANIChannelType HKeyframeChannel::m_channeltype |
The type of channel.
HPoint HKeyframeChannel::m_cp |
The channnel coordinates.
Referenced by HBhvInterpolatorColor::Insert(), HBhvInterpolatorScale::Insert(), HBhvInterpolatorPosition::InsertCurve(), HBhvInterpolatorPosition::InsertDiscrete(), HBhvInterpolatorPosition::InsertLinear(), HBhvInterpolatorColor::Replace(), HBhvInterpolatorScale::Replace(), HBhvInterpolatorPosition::ReplaceCurve(), and HBhvInterpolatorPosition::ReplaceLinear().