QuaternionAnimation Constructor (Quaternion, Quaternion, Duration)

 

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 Sub New (
	fromValue As Quaternion,
	toValue As Quaternion,
	duration As 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: