IUIAnimationTransitionLibrary interface

Defines a library of standard transitions.

Methods

The IUIAnimationTransitionLibrary interface has these methods.

Method Description
IUIAnimationTransitionLibrary::CreateAccelerateDecelerateTransition Creates an accelerate-decelerate transition.
IUIAnimationTransitionLibrary::CreateConstantTransition Creates a constant transition.
IUIAnimationTransitionLibrary::CreateCubicTransition Creates a cubic transition.
IUIAnimationTransitionLibrary::CreateDiscreteTransition Creates a discrete transition.
IUIAnimationTransitionLibrary::CreateInstantaneousTransition Creates an instantaneous transition.
IUIAnimationTransitionLibrary::CreateLinearTransition Creates a linear transition.
IUIAnimationTransitionLibrary::CreateLinearTransitionFromSpeed Creates a linear-speed transition.
IUIAnimationTransitionLibrary::CreateParabolicTransitionFromAcceleration Creates a parabolic-acceleration transition.
IUIAnimationTransitionLibrary::CreateReversalTransition Creates a reversal transition.
IUIAnimationTransitionLibrary::CreateSinusoidalTransitionFromRange Creates a sinusoidal-range transition, with a specified range of oscillation.
IUIAnimationTransitionLibrary::CreateSinusoidalTransitionFromVelocity Creates a sinusoidal-velocity transition, with an amplitude determined by the initial velocity.
IUIAnimationTransitionLibrary::CreateSmoothStopTransition Creates a smooth-stop 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 IUIAnimationInterpolatorinterface; 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

   
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

IUIAnimationStoryboard::AddTransitionBetweenKeyframes

IUIAnimationTransition

IUnknown

Storyboard Overview