description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: CInstantaneousTransition Class |
CInstantaneousTransition Class |
11/04/2016 |
|
|
c3d5121f-2c6b-4221-9e57-10e082a31120 |
Encapsulates an instantaneous transition.
class CInstantaneousTransition : public CBaseTransition;
Name | Description |
---|---|
CInstantaneousTransition::CInstantaneousTransition | Constructs a transition object and initializes its final value. |
Name | Description |
---|---|
CInstantaneousTransition::Create | Calls the transition library to create encapsulated transition COM object. (Overrides CBaseTransition::Create.) |
Name | Description |
---|---|
CInstantaneousTransition::m_dblFinalValue | The value of the animation variable at the end of the transition. |
During an instantaneous transition, the value of the animation variable changes instantly from its current value to a specified final value. The duration of this transition is always zero. 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.
Header: afxanimationcontroller.h
Constructs a transition object and initializes its final value.
CInstantaneousTransition(DOUBLE dblFinalValue);
dblFinalValue
The value of the animation variable at the end of the transition.
Calls the transition library to create encapsulated transition COM object.
virtual BOOL Create(
IUIAnimationTransitionLibrary* pLibrary,
IUIAnimationTransitionFactory* \*not used*\);
pLibrary
A pointer to an IUIAnimationTransitionLibrary interface, which defines a library of standard transitions.
TRUE if transition is created successfully; otherwise FALSE.
The value of the animation variable at the end of the transition.
DOUBLE m_dblFinalValue;