| QuaternionFAxis 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 Vector3F Axis { get; set; }
<XmlIgnoreAttribute>
<ContentSerializerIgnoreAttribute>
Public Property Axis As Vector3F
Get
Set
public:
[XmlIgnoreAttribute]
[ContentSerializerIgnoreAttribute]
property Vector3F Axis {
Vector3F get ();
void set (Vector3F value);
}
[<XmlIgnoreAttribute>]
[<ContentSerializerIgnoreAttribute>]
member Axis : Vector3F with get, set
Property Value
Type:
Vector3F
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