| QuaternionF Conversion (QuaternionF to Single) |
Converts the quaternion to an array of 4 float values: (w, x, y, z).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static explicit operator float[] (
QuaternionF quaternion
)
Public Shared Narrowing Operator CType (
quaternion As QuaternionF
) As Single()
static explicit operator array<float>^ (
QuaternionF quaternion
)
F# does not support the declaration of new casting operators.
Parameters
- quaternion
- Type: DigitalRune.Mathematics.AlgebraQuaternionF
The quaternion.
Return Value
Type:
SingleThe array with 4
float values (w, x, y, z).
See Also