AnimationBuilder.Orientation Method

Definition

Overloads

Orientation(Quaternion, Nullable<Quaternion>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<RepeatOption>, EasingType, EasingMode)

Adds a new orientation animation to the current schedule.

Orientation()

Adds a new orientation animation to the current schedule.

Orientation(Quaternion, Nullable<Quaternion>, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<RepeatOption>, EasingType, EasingMode)

Adds a new orientation animation to the current schedule.

public Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder Orientation (System.Numerics.Quaternion to, System.Numerics.Quaternion? 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.Orientation : System.Numerics.Quaternion * Nullable<System.Numerics.Quaternion> * 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 Orientation (to As Quaternion, Optional from As Nullable(Of Quaternion) = 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
Quaternion

The final value for the animation.

from
Nullable<Quaternion>

The optional starting value for the animation.

delay
Nullable<TimeSpan>

The optional initial delay for the animation.

duration
Nullable<TimeSpan>

The optional animation duration.

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.

Applies to

Orientation()

Adds a new orientation animation to the current schedule.

public Microsoft.Toolkit.Uwp.UI.Animations.IPropertyAnimationBuilder<System.Numerics.Quaternion> Orientation ();
member this.Orientation : unit -> Microsoft.Toolkit.Uwp.UI.Animations.IPropertyAnimationBuilder<System.Numerics.Quaternion>
Public Function Orientation () As IPropertyAnimationBuilder(Of Quaternion)

Returns

An IPropertyAnimationBuilder<T> instance to configure the animation.

Remarks

This animation is only available on the composition layer.

Applies to