CInterpolatorBase Class
Visual Studio 2010 SP1 is required.
Implements a callback, which is called by the Animation API when it has to calculate a new value of an animation variable.
class CInterpolatorBase : public CUIAnimationInterpolatorBase<CInterpolatorBase>;
Members
Public Constructors
Name |
Description |
---|---|
Constructs the CInterpolatorBase object. |
Public Methods
Name |
Description |
---|---|
Creates an instance of CInterpolatorBase and stores a pointer to custom interpolator, which will be handling events. |
|
Gets the interpolator's dependencies. |
|
Gets the interpolator's duration. |
|
Gets the final value to which the interpolator leads. |
|
Interpolates the value at a given offset. |
|
Interpolates the velocity at a given offset. |
|
Stores a pointer to custom interpolator, which will be handling events. |
|
Sets the interpolator's duration. |
|
Sets the interpolator's initial value and velocity. |
Remarks
This handler is created and passed to IUIAnimationTransitionFactory::CreateTransition when a CCustomTransition object is being created as a part of animation initialization process (started by CAnimationController::AnimateGroup). Usually you don't need to use this class directly, it just routs all events to a CCustomInterpolator-derived class, whose pointer is passed to constructor of CCustomTransition.
Inheritance Hierarchy
CUIAnimationCallbackBase
CUIAnimationInterpolatorBase
Requirements
Header: afxanimationcontroller.h