Share via


CCustomTransition::Create

Calls the transition library to create encapsulated transition COM object.

virtual BOOL Create(
   IUIAnimationTransitionLibrary* */,
   IUIAnimationTransitionFactory* pFactory
);

Parameters

  • pFactory
    A pointer to transition factory, which is responsible for creation of custom transitions.

Remarks

This method also can set initial value and initial velocity to be applied to an animation variable, which is associated with this transition. For this purpose you have to call SetInitialValue and SetInitialVelocity before the framework creates the encapsulated transition COM object (it happens when you call CAnimationController::AnimateGroup).

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CCustomTransition Class