CCubicTransition Class
Encapsulates a cubic transition.
class CCubicTransition : public CBaseTransition;
Members
Public Constructors
Name |
Description |
---|---|
Constructs a transition object and initializes its parameters. |
Public Methods
Name |
Description |
---|---|
Calls the transition library to create encapsulated transition COM object. (Overrides CBaseTransition::Create.) |
Public Data Members
Name |
Description |
---|---|
The value of the animation variable at the end of the transition. |
|
The velocity of the variable at the end of the transition. |
|
The duration of the transition. |
Remarks
During a cubic transition, the value of the animation variable changes from its initial value to a specified final value over the duration of the transition, ending at a specified velocity. 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
Requirements
Header: afxanimationcontroller.h