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