HKeyframe
-
class
HKeyframe The
HKeyframeclass 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.
Methods
-
virtual HKeyframe *
HKeyframe::Clone() virtual
This method makes an exact copy of the current
HKeyframeand returns a pointer to the newly createdHKeyframeobject.Returns
A pointer to the newly createdHKeyframeobject.
-
virtual void
HKeyframe::SetConstant(bool constant) virtual
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.
-
virtual void
HKeyframe::SetEaseInOut(bool easeinout) virtual
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.
Variables
-
HANIKeyframeType
HKeyframe::m_type -
Type of Keyframe