Quaternion Constructor (Vector3D, Double)

 

Initializes a new instance of the Quaternion structure.

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

public Quaternion(
	Vector3D axisOfRotation,
	double angleInDegrees
)

Parameters

axisOfRotation
Type: System.Windows.Media.Media3D.Vector3D

Vector3D that represents the axis of rotation.

angleInDegrees
Type: System.Double

Angle to rotate around the specified axis, in degrees.

The W property of the quaternion is computed automatically.

.NET Framework
Available since 3.0
Return to top
Show: