Condividi tramite


CBaseTransition Class

Represents a basic transition.

class CBaseTransition : public CObject;

Members

Public Enumerations

Name

Description

CBaseTransition::TRANSITION_TYPE Enumeration

Defines the transition types currently supported by the MFC implementation of Windows Animation API.

Public Constructors

Name

Description

CBaseTransition::CBaseTransition

Constructs a base transtion object.

CBaseTransition::~CBaseTransition

The destructor. Called when a transition object is being destroyed.

Public Methods

Name

Description

CBaseTransition::AddToStoryboard

Adds a transition to a storyboard.

CBaseTransition::AddToStoryboardAtKeyframes

Adds a transition to a storyboard.

CBaseTransition::Clear

Releases encapsulated IUIAnimationTransition COM object.

CBaseTransition::Create

Creates a COM transition.

CBaseTransition::GetEndKeyframe

Returns start keyframe.

CBaseTransition::GetRelatedVariable

Returns a pointer to related variable.

CBaseTransition::GetStartKeyframe

Returns start keyframe.

CBaseTransition::GetTransition

Overloaded. Returns a pointer to underlying COM transition object.

CBaseTransition::GetType

Returns transition type.

CBaseTransition::IsAdded

Tells whether a transition has been added to a storyboard.

CBaseTransition::SetKeyframes

Sets keyframes for a transition.

CBaseTransition::SetRelatedVariable

Establishes a relationship between animation variable and transition.

Protected Data Members

Name

Description

CBaseTransition::m_bAdded

Specifies whether a transition has been added to a storyboard.

CBaseTransition::m_pEndKeyframe

Stores a pointer to the keyframe that specifies the end of the transition.

CBaseTransition::m_pRelatedVariable

A pointer to an animation variable, which is animated with the transition stored in m_transition.

CBaseTransition::m_pStartKeyframe

Stores a pointer to the keyframe that specifies the beginning of the transition.

CBaseTransition::m_transition

Stores a pointer to IUIAnimationTransition. NULL if a COM transition object has not been created.

CBaseTransition::m_type

Stores the transition type.

Remarks

This class encapsulates IUIAnimationTransition interface and serves as a base class for all transitions.

Inheritance Hierarchy

CObject

CBaseTransition

Requirements

Header: afxanimationcontroller.h

See Also

Other Resources

MFC Classes