IUIAnimationTransitionFactory2::CreateTransition method
Creates a transition from a custom interpolator for a given dimension.
Syntax
HRESULT CreateTransition(
[in, optional] IUIAnimationInterpolator2 *interpolator,
[out] IUIAnimationTransition2 **transition
);
Parameters
- interpolator [in, optional]
-
The interpolator from which a transition is to be created. The specified object must implement the IUIAnimationInterpolator2 interface.
- transition [out]
-
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 8, Windows 7 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IUIAnimationTransitionFactory2 is defined as 937D4916-C1A6-42d5-88D8-30344D6EFE31 |
See also