Partager via


CAnimationValue::AddTransition

Adds a transition to be applied to a value.

void AddTransition(
   CBaseTransition* pTransition
);

Parameters

  • pTransition
    A pointer to transition object.

Remarks

Call this function to add a transition to internal list of transitions to be applied to an animation variable. 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.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationValue Class