Share via


CCustomInterpolator::SetInitialValueAndVelocity

Sets the interpolator's initial value and velocity.

virtual BOOL SetInitialValueAndVelocity(
   DOUBLE initialValue,
   DOUBLE initialVelocity
);

Parameters

  • initialValue
    The value of the variable at the start of the transition.

  • initialVelocity
    The velocity of the variable at the start of the transition.

Return Value

The basic implementation always returns TRUE. Return FALSE from overridden implementation if you wish to fail the event.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CCustomInterpolator Class