ToVector2()
<< Click to Display Table of Contents >> ToVector2() |
Converts a System.Windows.Point structure to a SharpDX.Vector2 used for SharpDX rendering.
A new SharpDX.Vector2 constructed with the point parameters X and Y values
DxExtensions.ToVector2(this System.Windows.Point point)
<point>.ToVector2()
point |
The System.Windows.Point point to convert |
// gets the application/user WPF point and converts to a SharpDX Vector |