QuaternionAnimation Constructors

Definition

Initializes a new instance of QuaternionAnimation.

Overloads

QuaternionAnimation()

Initializes a new instance of QuaternionAnimation.

QuaternionAnimation(Quaternion, Duration)

Initializes a new instance of QuaternionAnimation using the specified Quaternion and Duration.

QuaternionAnimation(Quaternion, Duration, FillBehavior)

Initializes a new instance of QuaternionAnimation using the specified Quaternion, Duration, and FillBehavior.

QuaternionAnimation(Quaternion, Quaternion, Duration)

Initializes a new instance of QuaternionAnimation using the specified Quaternion to another specified Quaternion over the specified Duration.

QuaternionAnimation(Quaternion, Quaternion, Duration, FillBehavior)

Initializes a new instance of QuaternionAnimation using the specified Quaternion to another specified Quaternion over the specified Duration, with the specified behavior at the end of the timeline.

QuaternionAnimation()

Initializes a new instance of QuaternionAnimation.

public:
 QuaternionAnimation();
public QuaternionAnimation ();
Public Sub New ()

Applies to

QuaternionAnimation(Quaternion, Duration)

Initializes a new instance of QuaternionAnimation using the specified Quaternion and Duration.

public:
 QuaternionAnimation(System::Windows::Media::Media3D::Quaternion toValue, System::Windows::Duration duration);
public QuaternionAnimation (System.Windows.Media.Media3D.Quaternion toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.QuaternionAnimation : System.Windows.Media.Media3D.Quaternion * System.Windows.Duration -> System.Windows.Media.Animation.QuaternionAnimation
Public Sub New (toValue As Quaternion, duration As Duration)

Parameters

toValue
Quaternion

Quaternion to which to animate.

duration
Duration

Duration of the QuaternionAnimation.

Applies to

QuaternionAnimation(Quaternion, Duration, FillBehavior)

Initializes a new instance of QuaternionAnimation using the specified Quaternion, Duration, and FillBehavior.

public:
 QuaternionAnimation(System::Windows::Media::Media3D::Quaternion toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public QuaternionAnimation (System.Windows.Media.Media3D.Quaternion toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.QuaternionAnimation : System.Windows.Media.Media3D.Quaternion * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.QuaternionAnimation
Public Sub New (toValue As Quaternion, duration As Duration, fillBehavior As FillBehavior)

Parameters

toValue
Quaternion

Quaternion to which to animate.

duration
Duration

Duration of the QuaternionAnimation.

fillBehavior
FillBehavior

Behavior of the timeline outside its active period.

Applies to

QuaternionAnimation(Quaternion, Quaternion, Duration)

Initializes a new instance of QuaternionAnimation using the specified Quaternion to another specified Quaternion over the specified Duration.

public:
 QuaternionAnimation(System::Windows::Media::Media3D::Quaternion fromValue, System::Windows::Media::Media3D::Quaternion toValue, System::Windows::Duration duration);
public QuaternionAnimation (System.Windows.Media.Media3D.Quaternion fromValue, System.Windows.Media.Media3D.Quaternion toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.QuaternionAnimation : System.Windows.Media.Media3D.Quaternion * System.Windows.Media.Media3D.Quaternion * System.Windows.Duration -> System.Windows.Media.Animation.QuaternionAnimation
Public Sub New (fromValue As Quaternion, toValue As Quaternion, duration As Duration)

Parameters

fromValue
Quaternion

Quaternion that from which to animate.

toValue
Quaternion

Quaternion to which to animate.

duration
Duration

Duration of the QuaternionAnimation.

Remarks

This constructor allows you to specify the quaternions that define the beginning and ending orientations of the model being animated.

Applies to

QuaternionAnimation(Quaternion, Quaternion, Duration, FillBehavior)

Initializes a new instance of QuaternionAnimation using the specified Quaternion to another specified Quaternion over the specified Duration, with the specified behavior at the end of the timeline.

public:
 QuaternionAnimation(System::Windows::Media::Media3D::Quaternion fromValue, System::Windows::Media::Media3D::Quaternion toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public QuaternionAnimation (System.Windows.Media.Media3D.Quaternion fromValue, System.Windows.Media.Media3D.Quaternion toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.QuaternionAnimation : System.Windows.Media.Media3D.Quaternion * System.Windows.Media.Media3D.Quaternion * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.QuaternionAnimation
Public Sub New (fromValue As Quaternion, toValue As Quaternion, duration As Duration, fillBehavior As FillBehavior)

Parameters

fromValue
Quaternion

Quaternion from which to animate.

toValue
Quaternion

Quaternion to which to animate.

duration
Duration

Duration of the QuaternionAnimation.

fillBehavior
FillBehavior

Behavior of the timeline outside its active period.

Remarks

This constructor allows you to specify the quaternions that define the beginning and ending orientations of the model being animated, as well as the behavior of the animation's timeline when it is outside of its active period but its parent is inside its active or hold period.

Applies to