IUIAnimationTransitionFactory::CreateTransition method (uianimation.h)

Creates a transition from a custom interpolator.

Syntax

HRESULT CreateTransition(
  [in]  IUIAnimationInterpolator *interpolator,
  [out] IUIAnimationTransition   **transition
);

Parameters

[in] interpolator

The interpolator from which a transition is to be created.

The specified object must implement the IUIAnimationInterpolator 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 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