| QuaternionFAngle Property |
Gets or sets the angle of the rotation around
Axis.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax [XmlIgnoreAttribute]
[ContentSerializerIgnoreAttribute]
public float Angle { get; set; }
<XmlIgnoreAttribute>
<ContentSerializerIgnoreAttribute>
Public Property Angle As Single
Get
Set
public:
[XmlIgnoreAttribute]
[ContentSerializerIgnoreAttribute]
property float Angle {
float get ();
void set (float value);
}
[<XmlIgnoreAttribute>]
[<ContentSerializerIgnoreAttribute>]
member Angle : float32 with get, set
Property Value
Type:
SingleThe 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