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 ()

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

Parameters

toValue
Quaternion

Quaternion to which to animate.

duration
Duration

Duration of the QuaternionAnimation.

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

Parameters

toValue
Quaternion

Quaternion to which to animate.

duration
Duration

Duration of the QuaternionAnimation.

fillBehavior
FillBehavior

Behavior of the timeline outside its active period.

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

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.

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

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