CParabolicTransitionFromAcceleration Class
Encapsulates a parabolic-acceleration transition.
class CParabolicTransitionFromAcceleration : public CBaseTransition;
Members
Public Constructors
Name |
Description |
---|---|
CParabolicTransitionFromAcceleration::CParabolicTransitionFromAcceleration |
Constructs a parabolic-acceleration transition and initializes it with specified parameters. |
Public Methods
Name |
Description |
---|---|
Calls the transition library to create encapsulated transition COM object. (Overrides CBaseTransition::Create.) |
Public Data Members
Name |
Description |
---|---|
The acceleration of the animation variable during the transition. |
|
The value of the animation variable at the end of the transition. |
|
The velocity of the animation variable at the end of the transition. |
Remarks
During a parabolic-acceleration transition, the value of the animation variable changes from the initial value to the final value ending at a specified velocity. You can control how quickly the variable reaches the final value by specifying the rate of acceleration. Because all transitions are cleared automatically, it's recommended to allocated them using operator new. The encapsulated IUIAnimationTransition COM object is created by CAnimationController::AnimateGroup, until then it's NULL. Changing member variables after creation of this COM object has no effect.
Inheritance Hierarchy
CParabolicTransitionFromAcceleration
Requirements
Header: afxanimationcontroller.h