QuaternionAnimation Constructor (Quaternion, Quaternion, Duration)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public:
QuaternionAnimation(
	Quaternion fromValue,
	Quaternion toValue,
	Duration duration
)

Parameters

fromValue
Type: System.Windows.Media.Media3D::Quaternion

Quaternion that from which to animate.

toValue
Type: System.Windows.Media.Media3D::Quaternion

Quaternion to which to animate.

duration
Type: System.Windows::Duration

Duration of the QuaternionAnimation.

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

.NET Framework
Available since 3.0
Return to top
Show: