共用方式為


CAnimationVariable::CreateTransitions

Creates all transitions to be applied to this animation variable.

BOOL CreateTransitions(
   IUIAnimationTransitionLibrary* pLibrary,
   IUIAnimationTransitionFactory* pFactory
);

Parameters

  • pLibrary
    A pointer to transition library.

  • pFactory
    A pointer to transition factory.

Return Value

TRUE if transitions were created successfully; otherwise FALSE.

Remarks

This method is called by the framework when it needs to create transitions that have been added to the variable's internal list of transitions.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationVariable Class