Share via


CInstantaneousTransition Class

Encapsulates an instantaneous transition.

class CInstantaneousTransition : public CBaseTransition;

Members

Public Constructors

Name

Description

CInstantaneousTransition::CInstantaneousTransition

Constructs a transition object and initializes its final value.

Public Methods

Name

Description

CInstantaneousTransition::Create

Calls the transition library to create encapsulated transition COM object. (Overrides CBaseTransition::Create.)

Public Data Members

Name

Description

CInstantaneousTransition::m_dblFinalValue

The value of the animation variable at the end of the transition.

Remarks

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.

Inheritance Hierarchy

CObject

CBaseTransition

CInstantaneousTransition

Requirements

Header: afxanimationcontroller.h

See Also

Other Resources

MFC Classes