IUIAnimationTransitionLibrary interface (uianimation.h)
Defines a library of standard transitions.
Inheritance
The IUIAnimationTransitionLibrary interface inherits from the IUnknown interface. IUIAnimationTransitionLibrary also has these types of members:
Methods
The IUIAnimationTransitionLibrary interface has these methods.
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 IUIAnimationInterpolator interface; an implementation of the transition factory object is provided by UIAnimationTransitionFactory.
Examples
For an example that creates the transition library object, see Create the Main Animation Objects.
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 |
See also
IUIAnimationManager::ScheduleTransition
IUIAnimationStoryboard::AddKeyframeAfterTransition
IUIAnimationStoryboard::AddTransition
IUIAnimationStoryboard::AddTransitionAtKeyframe