CAnimationColor::AddTransition
Adds transitions for Red, Green and Blue components.
void AddTransition(
CBaseTransition* pRTransition,
CBaseTransition* pGTransition,
CBaseTransition* pBTransition
);
Parameters
pRTransition
Transition for Red component.pGTransition
Transition for Green component.pBTransition
Transition for Blue component.
Remarks
Call this function to add the specified transitions to the internal list of transitions to be applied to animation variables representing color components. 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 the color components, you can pass NULL.
Requirements
Header: afxanimationcontroller.h