| QuaternionFExplicit Conversion (QuaternionF toSingle[]) |
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.Algebra.QuaternionF
The quaternion.
Return Value
Type:
Single[]The array with 4
float values (w, x, y, z).
See Also