IUIAnimationTransitionFactory2::CreateTransition method (uianimation.h)

Creates a transition from a custom interpolator for a given dimension.

Syntax

HRESULT CreateTransition(
  [in, optional] IUIAnimationInterpolator2 *interpolator,
  [out]          IUIAnimationTransition2   **transition
);

Parameters

[in, optional] interpolator

The interpolator from which a transition is to be created.

The specified object must implement the IUIAnimationInterpolator2 interface.

[out] 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

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

See also

IUIAnimationInterpolator2

IUIAnimationTransition2

IUIAnimationTransitionFactory2