HKeyframeChannel

class HKeyframeChannel

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.

Inherits from: HKeyframe

Methods

HKeyframeChannel::HKeyframeChannel()

Constructs an HKeyframeChannel object.

virtual HKeyframeChannel::~HKeyframeChannel()

virtual

virtual HKeyframe *HKeyframeChannel::Clone()

virtual

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

Returns

A pointer to the newly created HKeyframeChannel object.
virtual void HKeyframeChannel::Interpolate(HKeyframeChannel const *posarray[], int keyframe, float fraction, int length, HPoint &res)

virtual

Calculates the interpolation between this keyframe and the next keyframe.

Parameters

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.

Variables

HPoint HKeyframeChannel::m_cp

The channnel coordinates.

HANIChannelType HKeyframeChannel::m_channeltype

The type of channel.