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