| Vector2F Conversion (Vector2F to Single) |
Converts a vector to an array of 2 float values.
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[] (
Vector2F vector
)
Public Shared Narrowing Operator CType (
vector As Vector2F
) As Single()
static explicit operator array<float>^ (
Vector2F vector
)
F# does not support the declaration of new casting operators.
Parameters
- vector
- Type: DigitalRune.Mathematics.AlgebraVector2F
The vector.
Return Value
Type:
Single
The array with 2
float values. The order of the elements is: x, y
See Also