IUIAnimationTransitionFactory::CreateTransition method (uianimation.h)

Creates a transition from a custom interpolator.

Syntax

HRESULT CreateTransition(
  IUIAnimationInterpolator *interpolator,
  IUIAnimationTransition   **transition
);

Parameters

interpolator

The interpolator from which a transition is to be created.

The specified object must implement the IUIAnimationInterpolator interface.

transition

The new transition.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Requirements

   
Minimum supported client Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header uianimation.h
DLL UIAnimation.dll

See also

IUIAnimationInterpolator

IUIAnimationTransition

IUIAnimationTransitionFactory