AnimationBuilder.Transform Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new transform animation to the current schedule.
public Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder Transform (System.Numerics.Matrix4x4 to, System.Numerics.Matrix4x4? from = default, TimeSpan? delay = default, TimeSpan? duration = default, Microsoft.Toolkit.Uwp.UI.Animations.RepeatOption? repeat = default, Microsoft.Toolkit.Uwp.UI.Animations.EasingType easingType = Microsoft.Toolkit.Uwp.UI.Animations.EasingType.Default, Windows.UI.Xaml.Media.Animation.EasingMode easingMode = Windows.UI.Xaml.Media.Animation.EasingMode.EaseInOut);
member this.Transform : System.Numerics.Matrix4x4 * Nullable<System.Numerics.Matrix4x4> * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<Microsoft.Toolkit.Uwp.UI.Animations.RepeatOption> * Microsoft.Toolkit.Uwp.UI.Animations.EasingType * Windows.UI.Xaml.Media.Animation.EasingMode -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder
Public Function Transform (to As Matrix4x4, Optional from As Nullable(Of Matrix4x4) = Nothing, Optional delay As Nullable(Of TimeSpan) = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing, Optional repeat As Nullable(Of RepeatOption) = Nothing, Optional easingType As EasingType = Microsoft.Toolkit.Uwp.UI.Animations.EasingType.Default, Optional easingMode As EasingMode = Windows.UI.Xaml.Media.Animation.EasingMode.EaseInOut) As AnimationBuilder
Parameters
- to
- Matrix4x4
The final value for the animation.
- repeat
- Nullable<RepeatOption>
The optional repeat mode (defaults to once).
- easingType
- EasingType
The optional easing function type for the animation.
- easingMode
- Windows.UI.Xaml.Media.Animation.EasingMode
The optional easing function mode for the animation.
Returns
The current AnimationBuilder instance.
Remarks
This animation is only available on the composition layer.