Partager via


CAnimationPoint::AddTransition

Adds transitions for X and Y coordinates.

void AddTransition(
   CBaseTransition* pXTransition,
   CBaseTransition* pYTransition
);

Parameters

  • pXTransition
    A pointer to transition for X coordinates.

  • pYTransition
    A pointer to transition for Y coordinate.

Remarks

Call this function to add the specified transitions to the internal list of transitions to be applied to animation variables for X and Y coordinates. When you add transitions, they are not applied immediately and stored in an internal list. Transitions are applied (added to a storyboard for a particular value) when you call CAnimationController::AnimateGroup. If you don't need to apply a transition to one of coordinates, you can pass NULL.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationPoint Class