HKeyframeChannel
-
class
HKeyframeChannel The
HKeyframeChannelclass 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
HKeyframeChannelobject.
-
virtual
HKeyframeChannel::~HKeyframeChannel() virtual
-
virtual HKeyframe *
HKeyframeChannel::Clone() virtual
This method makes an exact copy of the current
HKeyframeChanneland returns a pointer to the newly createdHKeyframeChannelobject.Returns
A pointer to the newly createdHKeyframeChannelobject.
-
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
HKeyframeChannelobjects.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.