Interpolation Element

Estimates intermediate values between two keyframes.

Syntax

<Interpolation
    BezierHandle1="float"
    BezierHandle2="float"
    EasePercent="float"
    Type="{Bezier | Cosine | EaseIn | EaseOut | Exp | Linear | Log | SCurve | Sine}"
    Weight="float"
/>

Inline Syntax

  Interpolation="Type"
Interpolation="Type,Weight"
Interpolation="Type,Value1,Value2"

Attributes

BezierHandle1

Specifies Bezier interpolation handle 1.

BezierHandle2

Specifies Bezier interpolation handle 2.

EasePercent

Specifies the time at which to transition between keyframes, defined as a percentage.

Type

Specifies the interpolation type, which must be a member of the InterpolationType enumeration.

Weight

Specifies the weight of this interpolation as compared to a Linear interpolation. This attribute can be applied to Exp, Log, SCurve, EaseIn, and EaseOut interpolation types.

Requirements

This value is based on a percentage value between 0 and 1, where a value of 1 equals 100%. 

Value1

Specifies Bezier interpolation handle 1 or the EaseIn/Out interpolation weight.

Value2

Specifies Bezier interpolation handle 2 or the EaseIn/Out time percentage.

Remarks

A Weight of 0 for any interpolation is the same as a Linear interpolation. A Weight of 1 has no effect and is the same as the unmodified interpolation. Values greater than 1 exaggerate the interpolation.

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also