IUIAnimationTransitionLibrary2 interface
Defines a library of standard transitions for a specified dimension.
When to implement
Client applications do not implement this interface; custom implementations are not supported.
When to use
Client applications use this interface to create standard transitions. An implementation is provided by the UIAnimationTransitionLibrary object.
Members
The IUIAnimationTransitionLibrary2 interface inherits from the IUnknown interface. IUIAnimationTransitionLibrary2 also has these types of members:
Methods
The IUIAnimationTransitionLibrary2 interface has these methods.
| Method | Description |
|---|---|
| CreateAccelerateDecelerateTransition |
Creates an accelerate-decelerate scalar transition. |
| CreateConstantTransition |
Creates a constant scalar transition. |
| CreateCubicBezierLinearTransition |
Creates a cubic Bézier linear scalar transition. |
| CreateCubicBezierLinearVectorTransition |
Creates a cubic Bézier linear vector transition for each specified dimension. |
| CreateCubicTransition |
Creates a cubic scalar transition. |
| CreateCubicVectorTransition |
Creates a cubic vector transition for each specified dimension. |
| CreateDiscreteTransition |
Creates a discrete scalar transition. |
| CreateDiscreteVectorTransition |
Creates a discrete vector transition for each specified dimension. |
| CreateInstantaneousTransition |
Creates an instantaneous scalar transition. |
| CreateInstantaneousVectorTransition |
Creates an instantaneous vector transition for each specified dimension. |
| CreateLinearTransition |
Creates a linear scalar transition. |
| CreateLinearTransitionFromSpeed |
Creates a linear-speed scalar transition. |
| CreateLinearVectorTransition |
Creates a linear vector transition in the specified dimension. |
| CreateLinearVectorTransitionFromSpeed |
Creates a linear-speed vector transition in the specified dimension. |
| CreateParabolicTransitionFromAcceleration |
Creates a parabolic-acceleration scalar transition. |
| CreateReversalTransition |
Creates a reversal scalar transition. |
| CreateSinusoidalTransitionFromRange |
Creates a sinusoidal-range scalar transition with a specified range of oscillation. |
| CreateSinusoidalTransitionFromVelocity |
Creates a sinusoidal scalar transition where amplitude is determined by initial velocity. |
| CreateSmoothStopTransition |
Creates a smooth-stop scalar transition. |
Remarks
Windows Animation includes a library of common transitions that developers can apply to variables through a storyboard. The parameters for specifying a transition depend on the type of transition. For some transitions, the duration of the transition is an explicit parameter; for others, the duration is determined by other parameters, such as speed or acceleration when the transition begins. A transition's initial value or velocity can be overridden if a discontinuous jump is desired, and duration can be queried after the transition is added to a storyboard.
If an application requires an effect that cannot be specified using the transition library, developers can implement custom transitions. A custom transition is created by first implementing the interpolator function for the transition, and then by using a factory object to generate transitions from interpolators. An interpolator must implement the IUIAnimationInterpolator2 interface; an implementation of the transition factory object is provided by the UIAnimationTransitionFactory2 object.
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_IUIAnimationTransitionLibrary2 is defined as 03CFAE53-9580-4ee3-B363-2ECE51B4AF6A |
See also
- IUnknown
- Interfaces
- Storyboard Overview
- IUIAnimationManager2::ScheduleTransition
- IUIAnimationTransition2
- IUIAnimationStoryboard::AddTransition
- IUIAnimationStoryboard::AddKeyframeAfterTransition
- IUIAnimationStoryboard::AddTransitionAtKeyframe
- IUIAnimationStoryboard::AddTransitionBetweenKeyframes