| Vector2D Conversion (Vector2 to Vector2D) |
Performs an conversion from
Vector2 (XNA Framework) to
Vector2D
(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 Vector2D (
Vector2 vector
)
Public Shared Narrowing Operator CType (
vector As Vector2
) As Vector2D
static explicit operator Vector2D (
Vector2 vector
)
F# does not support the declaration of new casting operators.
Parameters
- vector
- Type: Vector2
The Vector2 (XNA Framework).
Return Value
Type:
Vector2DThe
Vector2D (DigitalRune Mathematics).
Remarks
This method is available only in the XNA-compatible build of the
DigitalRune.Mathematics.dll.
See Also