CSinusoidalTransitionFromRange Class
Encapsulates a sinusoidal-range transition that has a given range of oscillation.
class CSinusoidalTransitionFromRange : public CBaseTransition;
Members
Public Constructors
Name |
Description |
---|---|
CSinusoidalTransitionFromRange::CSinusoidalTransitionFromRange |
Constructs a transition object. |
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 a peak of the sinusoidal wave. |
|
The value of the animation variable at a trough of the sinusoidal wave. |
|
The duration of the transition. |
|
The period of oscillation of the sinusoidal wave in seconds. |
|
The slope at the start of the transition. |
Remarks
The value of the animation variable fluctuates between the specified minimum and maximum values over the entire duration of a sinusoidal-range transition. The slope parameter is used to disambiguate between the two possible sine waves specified by the other parameters. 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
CSinusoidalTransitionFromRange
Requirements
Header: afxanimationcontroller.h