Click or drag to resize
DigitalRuneQuaternionFAxis Property
Gets or sets the normalized unit vector with the direction of the rotation axis.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
[XmlIgnoreAttribute]
[ContentSerializerIgnoreAttribute]
public Vector3F Axis { 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