Partager via


CInterpolatorBase::InterpolateValue

Interpolates the value at a given offset

IFACEMETHOD(
   InterpolateValue
)(__in UI_ANIMATION_SECONDS offset, __out DOUBLE *value);

Parameters

  • offset
    The offset from the start of the transition. The offset is always greater than or equal to zero and less than the duration of the transition. This method is not called if the duration of the transition is zero.

  • value
    Output. The interpolated value.

Return Value

If the method succeeds, it returns S_OK. It returns E_FAIL if CCustomInterpolator is not set, or custom implementation returns FALSE from the InterpolateValue method.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CInterpolatorBase Class