| Vector2F Conversion (Vector2 to Vector2F) |
Performs an conversion from
Vector2 (XNA Framework) to
Vector2F
(DigitalRune Mathematics).
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static explicit operator Vector2F (
Vector2 vector
)
Public Shared Narrowing Operator CType (
vector As Vector2
) As Vector2F
static explicit operator Vector2F (
Vector2 vector
)
F# does not support the declaration of new casting operators.
Parameters
- vector
- Type: Vector2
The Vector2 (XNA Framework).
Return Value
Type:
Vector2FThe
Vector2F (DigitalRune Mathematics).
Remarks
This method is available only in the XNA-compatible build of the
DigitalRune.Mathematics.dll.
See Also