This documentation is archived and is not being maintained.

QuaternionAnimation.QuaternionAnimation(Quaternion, Quaternion, Duration) Constructor

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
)
public QuaternionAnimation (
	Quaternion fromValue, 
	Quaternion toValue, 
	Duration duration
)
public function QuaternionAnimation (
	fromValue : Quaternion, 
	toValue : Quaternion, 
	duration : Duration
)
You cannot use constructors in XAML.

Parameters

fromValue

Quaternion that from which to animate.

toValue

Quaternion to which to animate.

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: