# HKeyframeChannelLinear

## Functions

| `HKeyframeChannelLinear`
| `~HKeyframeChannelLinear`
HKeyframe * | `Clone`
void | `Interpolate`
void | `Serialize`

## Detailed Description

class `HKeyframeChannelLinear` : public HKeyframeChannel

  The HKeyframeChannelLinear class is used for linear interpolation of positional values.

  Public Functions

  inline `HKeyframeChannelLinear`(float x = 0, float y = 0, float z = 0)

    Constructs a HKeyframeChannelLinear object.

  inline virtual `~HKeyframeChannelLinear`()
  inline virtual HKeyframe *`Clone`()

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

    Returns: | A pointer to newly created HKeyframeChannelLinear object.

  virtual void `Interpolate`(HKeyframeChannel const *posarray[], int keyframe, float fraction, int length, HPoint &res)

    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.

  virtual void `Serialize`(HUtilityXMLTag *xmlgen)

    Writes XML data to a buffer.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize 3DF or choose a sample question below to start a conversation:

What is HOOPS Visualize 3DF?
What are the latest release notes for HOOPS Visualize 3DF?
How do I start evaluating HOOPS Visualize 3DF?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...