| QuaternionDAxis Property |
Gets or sets the normalized unit vector with the direction of the rotation axis.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax [XmlIgnoreAttribute]
[ContentSerializerIgnoreAttribute]
public Vector3D Axis { get; set; }
<XmlIgnoreAttribute>
<ContentSerializerIgnoreAttribute>
Public Property Axis As Vector3D
Get
Set
public:
[XmlIgnoreAttribute]
[ContentSerializerIgnoreAttribute]
property Vector3D Axis {
Vector3D get ();
void set (Vector3D value);
}
[<XmlIgnoreAttribute>]
[<ContentSerializerIgnoreAttribute>]
member Axis : Vector3D with get, set
Property Value
Type:
Vector3D
The normalized unit vector with the direction of the rotation axis.
Remarks
Setting the axis influences all components of the quaternion. The result is a unit
quaternion that specifies a rotation of Angle radians around the specified
axis.
If the quaternion represents "no rotation" (rotation angle is 0), the axis vector is
(0, 0, 0).
See Also