Click or drag to resize
DigitalRuneQuaternionFAngle Property
Gets or sets the angle of the rotation around 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 float Angle { get; set; }

Property Value

Type: Single
The angle in radians.
Remarks

Setting the angle influences all components of the quaternion. The result is a unit quaternion that specifies a rotation of angle radians around the axis given by Axis.

This property assumes that the quaternion is a unit quaternion. It returns NaN if the w component is numerically greater than 1.0 or less than -1.0.

See Also